Mount Fuji Engine  0.8b
MF_API void MFRenderer_AddMesh ( MFMesh pMesh,
MFMaterial pMaterial,
const MFStateBlock pEntity,
const MFStateBlock pMaterialOverride,
const MFStateBlock pView 
)

Submits a mesh for rendering.

Parameters
pMeshPointer to an MFMesh 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_AddModel(), MFRenderer_AddVertices(), MFRenderer_AddIndexedVertices(), MFRenderer_SetRenderLayerSet()