# NNS_G3dTexReleaseTexKey

## Syntax

      #include <nnsys/g3d/kernel.h>

      void
      NNS_G3dTexReleaseTexKey(
          NNSG3dResTex* pTex,
          NNSG3dTexKey* texKey,
          NNSG3dTexKey* tex4x4Key
      );

## Arguments

pTex | Pointer to the texture resource
texKey | Pointer to the variable with the texture key for the stored normal texture
tex4x4Key | Pointer to the variable with the texture key for the stored 4x4 texel compression texture

## Return Values

None.

## Description

Releases the texture loaded in the texture resource, and at the same time resets the flag indicating that the texture in the texture resource has been loaded into VRAM. Also, stores the texture keys used up to this point in the variables indicated by `texKey` and `tex4x4Key`.

This function only releases the texture that was referenced. It does not de-allocate the texture from VRAM.

## See Also

`NNS_G3dTexLoad`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL