# NNS_G3dPlttReleasePlttKey

## Syntax

      #include <nnsys/g3d/kernel.h>

      NNSG3dPlttKey
      NNS_G3dPlttReleasePlttKey(
          NNSG3dResTex* pTex
      );

## Arguments

pTex | Pointer to the texture resource

## Return Values

Returns the palette key indicating the palette memory that was being referenced.

## Description

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.

## See Also

`NNS_G3dPlttLoad`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL