NNS_G3dMdlUseGlbXXXXX

Syntax

#include <nnsys/g3d/model.h>
void NNS_G3dMdlUseGlbDiff(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbAmb(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbSpec(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbEmi(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbLightEnableFlag(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbPolygonMode(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbCullMode(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbPolygonID(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbAlpha(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbFogEnableFlag(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbDepthTestCond(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlb1Dot(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbFarClip(NNSG3dResMdl* pMdl);
void NNS_G3dMdlUseGlbXLDepthUpdate(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 as the global state values.

NNS_G3dMdlUseGlbDiff Specify use of diffuse color as set by the NNS_G3dGlbMaterialColorDiffAmb function.
NNS_G3dMdlUseGlbAmb Specify use of ambient color as set by the NNS_G3dGlbMaterialColorDiffAmb function.
NNS_G3dMdlUseGlbSpec Specify use of specular color as set by the NNS_G3dGlbMaterialColorSpecEmi function.
NNS_G3dMdlUseGlbEmi Specify use of emission color as set by the NNS_G3dGlbMaterialColorSpecEmi function.
NNS_G3dMdlUseGlbLightEnableFlag Specify use of the light-enable flag set by the NNS_G3dGlbPolygonAttr function.
NNS_G3dMdlUseGlbPolygonMode Specify use of the polygon mode set by the NNS_G3dGlbPolygonAttr function.
NNS_G3dMdlUseGlbCullMode Specify use of the cull mode set by the NNS_G3dGlbPolygonAttr function.
NNS_G3dMdlUseGlbPolygonID Specify use of the polygon ID set by the NNS_G3dGlbPolygonAttr function.
NNS_G3dMdlUseGlbAlpha Specify use of the alpha value set by the NNS_G3dGlbPolygonAttr function.
NNS_G3dMdlUseGlbFogEnableFlag Specify use of the fog-enable flag set by the NNS_G3dGlbPolygonAttr function.
NNS_G3dMdlUseGlbDepthTestCond Specify use of the depth-test condition set by the NNS_G3dGlbPolygonAttr function.
NNS_G3dMdlUseGlb1Dot Specify use of the specification for displaying 1-dot polygons as set by the NNS_G3dGlbPolygonAttr function.
NNS_G3dMdlUseGlbFarClip Specify use of the setting for displaying polygons that intersect with the FAR clip plane as set by the NNS_G3dGlbPolygonAttr function.
NNS_G3dMdlUseGlbXLDepthUpdate Specify use of the enable flag for updating the depth value of translucent polygons as set by the NNS_G3dGlbPolygonAttr function.

See Also

NNS_G3dMdlUseMdlXXXXX

Revision History

2004/10/12 Initial version.


CONFIDENTIAL