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

Submits vertices for rendering.

Parameters
pMeshStateBlockPointer to a mesh stateblock. This should contain at least a VertexDeclaration and VertexBuffer states.
firstVertexOffset of the first vertex 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_AddIndexedVertices(), MFRenderer_SetRenderLayerSet(), MFStateBlock_SetMiscState()