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

Submits a mesh to a layer for rendering.

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