# NNS_G3dTexSetTexKey

## C Specification

      #include <nnsys/g3d/kernel.h>

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

## Arguments

pTex | Pointer to the texture resource
texKey | Texture key indicating the normal texture memory
tex4x4Key | Texture key indicating the 4 x 4 texel compression texture key

## Return Values

None.

## Description

Configures the texture key that indicates the memory for storing the normal and 4x4 texel textures.

The texture key is generated from the address and size of texture memory allocated in the VRAM. It can be obtained by allocating the memory for the texture using the VRAM manager of the NITRO-System library. The format of the texture key is the same as that of `NNSGfdTexKey`.

## See Also

`NNS_G3dPlttSetPlttKey`

## Revision History

08/02/2004 Initial version.