#include <nnsys/g3d/kernel.h>
void
NNS_G3dTexSetTexKey(
NNSG3dResTex* pTex,
NNSG3dTexKey texKey,
NNSG3dTexKey tex4x4Key
);
| 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 |
None.
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.
08/02/2004 Initial version.