#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.
The texture data loaded from the texture resource is released and the flag indicating that the texture is loaded is reset. Also, the texture key used up to this point is stored in the variable 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