#include <nnsys/g3d/kernel.h>
void
NNS_G3dPlttSetPlttKey(
NNSG3dResTex* pTex,
NNSG3dPlttKey plttKey
);
| pTex | Pointer to the texture resource |
| plttKey | Palette key that indicates the memory for the palette |
None.
Configures the palette key which indicates the memory used to store the palette to the texture resource.
The palette key is generated using the address and size of the memory for the palette allocated in VRAM. It can be obtained by allocating the memory for the palette using the VRAM manager of the NITRO-System library. The palette key format is the same as for NNSGfdPlttKey.
2004/08/02 Initial version.
CONFIDENTIAL