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