NNS_G3dDraw1Mat1Shp

C Specification

#include <nnsys/g3d/1mat1shp.h>
void
NNS_G3dDraw1Mat1Shp(
const NNSG3dResMdl*     pResMdl,
u32 matID,
u32 shpID,
BOOL sendMat
);

Arguments

pResMdl Pointer to the model resource
matID Index to the material to be rendered
shpID Index to the shape to be rendered
sendMat Whether to send material information to the geometry engine

Return Values

None.

Description

This function is good for rendering very simple objects. It renders the material specified by matID and the shape specified by shpID that belong to a model. If sendMat is FALSE, it does not send material information. When using this function, note that some general operations are not performed, enabling this function to do the same rendering more quickly than the NNS_G3dDraw function. Operations not performed include the initial setup required to render a model and the data copying that accompanies animation calculations. However, this function has the following limitations.

See Also

NNS_G3dDraw

Revision History

08/31/2004 Initial version.


CONFIDENTIAL