#include <nnsys/g3d/model.h>
void NNS_G3dMdlSetMdlDiffAll(NNSG3dResMdl* pMdl, GXRgb col);
void NNS_G3dMdlSetMdlAmbAll(NNSG3dResMdl* pMdl, GXRgb col);
void NNS_G3dMdlSetMdlSpecAll(NNSG3dResMdl* pMdl, GXRgb col);
void NNS_G3dMdlSetMdlEmiAll(NNSG3dResMdl* pMdl, GXRgb col);
void NNS_G3dMdlSetMdlLightEnableFlagAll(NNSG3dResMdl* pMdl, int light);
void NNS_G3dMdlSetMdlPolygonModeAll(NNSG3dResMdl* pMdl, GXPolygonMode polyMode);
void NNS_G3dMdlSetMdlCullModeAll(NNSG3dResMdl* pMdl, GXCull cullMode);
void NNS_G3dMdlSetMdlPolygonIDAll(NNSG3dResMdl* pMdl, int polygonID);
void NNS_G3dMdlSetMdlAlphaAll(NNSG3dResMdl* pMdl, int alpha);
void NNS_G3dMdlSetMdlFogEnableFlagAll(NNSG3dResMdl* pMdl, BOOL flag);
void NNS_G3dMdlSetMdlDepthTestCondAll(NNSG3dResMdl* pMdl, BOOL flag);
void NNS_G3dMdlSetMdl1DotAll(NNSG3dResMdl* pMdl, BOOL flag);
void NNS_G3dMdlSetMdlFarClipAll(NNSG3dResMdl* pMdl, BOOL flag);
void NNS_G3dMdlSetMdlXLDepthUpdateAll(NNSG3dResMdl* pMdl, BOOL flag);
pMdl | Pointer to the model resource |
None.
These functions configure rendering of the model specified by pMdl
to use the values set inside the model resource.
NNS_G3dMdlSetMdlDiffAll |
Sets the diffuse color of all materials in the model resource to col . |
NNS_G3dMdlSetMdlAmbAll |
Sets the ambient color of all materials in the model resource to col . |
NNS_G3dMdlSetMdlSpecAll |
Sets the specular color of all materials in the model resource to col . |
NNS_G3dMdlSetMdlEmiAll |
Sets the emission color of all materials in the model resource to col . |
NNS_G3dMdlSetMdlLightEnableFlagAll |
Sets the light-enable flag of all materials in the model resource to light . |
NNS_G3dMdlSetMdlPolygonModeAll |
Sets the polygon mode of all materials in the model resource to polyMode . |
NNS_G3dMdlSetMdlCullModeAll |
Sets the cull mode of all materials in the model resource to cullMode . |
NNS_G3dMdlSetMdlPolygonIDAll |
Sets the polygon ID of all materials in the model resource to polygonID . |
NNS_G3dMdlSetMdlAlphaAll |
Sets the alpha value of all materials in the model resource to alpha . |
NNS_G3dMdlSetMdlFogEnableFlagAll |
Sets the fog-enable flag of all materials in the model resource to flag . |
NNS_G3dMdlSetMdlDepthTestCondAll |
Sets the depth-test condition of all materials in the model resource to flag . |
NNS_G3dMdlSetMdl1DotAll |
Sets the 1-dot polygon display setting of all materials in the model resource to flag . |
NNS_G3dMdlSetMdlFarClipAll |
Sets the specification for displaying polygons that intersect with the FAR clip plane to flag for all materials inside the model resource. |
NNS_G3dMdlSetMdlXLDepthUpdateAll |
Sets the enable flag for updating the depth value of translucent polygons to flag for all materials inside the model resource. |
NNS_G3dMdlSetMdlXXXXX
, NNS_G3dMdlGetMdlXXXXX
2004/10/12 Initial version.
CONFIDENTIAL