# NNS_G3dResDefaultRelease

## Syntax

      #include <nnsys/g3d/util.h>

      void
      NNS_G3dResDefaultRelease(
          void* pResData
      );

## Arguments

pResData | Pointer to the resource.

## Return Values

None.

## Description

Performs the normal clean-up processes necessary before de-allocating the region of the G3D resource designated by `pResData`. If the G3D resource is model data (`.nsbmd`) or texture data (`.nsbtx`), this function performs the de-allocation process for the regions used by the texture and the palette. On all other data, no processing is performed.

This function does not de-allocate the memory region indicated by `pData`. The user must perform that.

## See Also

`NNS_G3dResDefaultSetup`

## Revision History

2007/05/17 Corrected mistakes.
2004/08/02 Initial version.

CONFIDENTIAL