# NNS_G3dMdlUseMdlXXXXX

## C Specification

      #include <nnsys/g3d/model.h>

      void NNS_G3dMdlUseMdlDiff( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlAmb( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlSpec( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlEmi( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlLightEnableFlag( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlPolygonMode( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlCullMode( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlPolygonID( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlAlpha( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlFogEnableFlag( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlDepthTestCond( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdl1Dot( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlFarClip( NNSG3dResMdl* pMdl);
      void NNS_G3dMdlUseMdlXLDepthUpdate( NNSG3dResMdl* pMdl);

## Arguments

pMdl | Pointer to the model resource

## Return Values

None.

## Description

These functions makes sure the model specified by `pMdl` is rendered using the values set inside the model resource.

`NNS_G3dMdlUseMdlDiff` | Specify use of diffuse color as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlAmb` | Specify use of ambient color as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlSpec` | Specify use of specular color as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlEmi` | Specify use of emission color as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlLightEnableFlag` | Specify use of light-enable flag as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlPolygonMode` | Specify use of polygon mode as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlCullMode` | Specify use of cull mode as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlPolygonID` | Specify use of polygon ID as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlAlpha` | Specify use of alpha value as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlFogEnableFlag` | Specify use of fog-enable flag as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlDepthTestCond` | Specify use of depth-test condition as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdl1Dot` | Specify use of the specification for displaying 1-dot polygons as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlFarClip` | Specify use of the specification for displaying polygons that intersect with the FAR clip plane as per each individual material set inside the model resource.
`NNS_G3dMdlUseMdlXLDepthUpdate` | Specify use of the enable flag for updating the depth value of translucent polygons as per each individual material set inside the model resource.

## See Also

`NNS_G3dMdlUseGlbXXXXX`

## Revision History

10/12/2004 Initial version.