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

Submits vertices to a layer for rendering.

Parameters
pLayerLayer to receive the geometry.
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.
See Also
MFRenderLayer_AddIndexedVertices(), MFRenderLayer_AddMesh(), MFRenderLayer_AddModel(), MFStateBlock_SetMiscState()