# NNS_G3dPlttReleasePlttKey

## C Specification

      #include <nnsys/g3d/kernel.h>

      NNSG3dPlttKey
      NNS_G3dPlttReleasePlttKey(
      NNSG3dResTex* pTex
      );

## Arguments

pTex | Pointer to the texture resource

## Return Values

Returns the palette key for the memory that was referenced by the palette

## Description

The palette data loaded from the texture resource is released and the flag indicating that the palette is loaded is reset. This function only releases the palette that was being referenced.

It does not perform the de-allocation of the palette from VRAM.

## See Also

`NNS_G3dPlttLoad`

## Revision History

08/02/2004 Initial version.