# NNS_G3dGetMat

## C Specification

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

      NNSG3dResMat*
      NNS_G3dGetMat(
      const NNSG3dResMdl* mdl
      );

## Arguments

mdl | The pointer to the model

## Return Values

Returns the pointer to the material.

## Description

This function gets the material inside the model `mdl`.

## See Also

`NNS_G3dGetShp`, `NNS_G3dGetSbc`

## Revision History

08/02/2004 Initial version.