# NNS_G3dResDefaultSetup

## C Specification

      #include <nnsys/g3d/util.h>

      BOOL
      NNS_G3dResDefaultSetup(
      void* pResData
      );

## Arguments

pResData | Pointer to the resource data

## Return Values

Returns `TRUE` if the setup was successful.

## Description

Sets up the G3D resource designated by `pResData`. The operations differ depending on the data format.

    For the model file (.nsbmd)
    · Allocates the region for the texture and the palette
    · Loads the texture and the palette into VRAM
    · Binds the texture to each model in the file

    For the texture file (.nsbtx)
    · Allocates the region for the texture and the palette
    · Loads the texture and the palette into VRAM

    Other
    · Does nothing

## See Also

`NNS_G3dResDefaultRelease`

## Revision History

08/02/2004 Initial version.