#include <nnsys/g3d/kernel.h>
NNSG3dPlttKey
NNS_G3dPlttReleasePlttKey(
NNSG3dResTex* pTex
);
pTex | Pointer to the texture resource |
Returns the palette key indicating the palette memory that was being referenced.
Releases the palette that was previously loaded in the texture resource, and at the same time resets the flag indicating that the palette in the texture resource has been loaded to VRAM. This function returns the palette key that has been used up until this point.
This function only releases the palette that was previously being referenced. It does not deallocate the palette from VRAM.
2004/08/02 Initial version.
CONFIDENTIAL