# NNS_G3dGetTex

## Syntax

      #include <nnsys/g3d/binres/res_struct_accessor.h>

      NNSG3dResTex*
      NNS_G3dGetTex(
          const NNSG3dResFileHeader* header
      );

## Arguments

header | The pointer to the resource file header

## Return Values

Returns the pointer to the texture resource. Returns a `NULL` if there is no texture block inside the model resource file.

## Description

This function gets the texture resource from the resource file `data`.

## See Also

`NNS_G3dGetDataBlockHeaderByIdx`, `NNS_G3dGetMdlSet`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL