NNS_G3dTexReleaseTexKey

C Specification

#include <nnsys/g3d/kernel.h>
void
NNS_G3dTexReleaseTexKey(
NNSG3dResTex* pTex,
NNSG3dTexKey*   texKey,
NNSG3dTexKey* tex4x4Key
);

Arguments

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

Return Values

None.

Description

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.

See Also

NNS_G3dTexLoad

Revision History

08/02/2004 Initial version.


CONFIDENTIAL