# NNS_G3dMdlUseMdlXXXXX

## Syntax

      #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 configure rendering of the model specified by `pMdl` to use the values set inside the model resource.

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

## See Also

`NNS_G3dMdlUseGlbXXXXX`

## Revision History

2004/10/12 Initial version.

CONFIDENTIAL