Mount Fuji Engine  0.8b
MF_API void MFRenderer_AddIndexedVertices ( const MFStateBlock pMeshStateBlock,
int  firstIndex,
int  numVertices,
MFPrimType  primType,
MFMaterial pMaterial,
const MFStateBlock pEntity,
const MFStateBlock pMaterialOverride,
const MFStateBlock pView 
)

Submits indexed vertices for rendering.

Parameters
pMeshStateBlockPointer to a mesh stateblock. This should contain at least a VertexDeclaration, an IndexBuffer, and VertexBuffer states.
firstIndexOffset of the first index to render.
numVerticesNumber of vertices to render.
primTypeType of primitives to render.
pMaterialMaterial to use when rendering the mesh.
pEntityOptional pointer to an entity stateblock.
pMaterialOverrideOptional pointer to a material override stateblock.
pViewOptional pointer to a view stateblock.
Returns
None.
Remarks
The current layer set will be used to choose a render layer depending on mesh and material properties.
See Also
MFRenderer_AddMesh(), MFRenderer_AddModel(), MFRenderer_AddVertices(), MFRenderer_SetRenderLayerSet(), MFStateBlock_SetMiscState()