pLayer | Layer to receive the geometry. |
pMeshStateBlock | Pointer to a mesh stateblock. This should contain at least a VertexDeclaration, an IndexBuffer, and VertexBuffer states. |
firstIndex | Offset of the first index to render. |
numVertices | Number of vertices to render. |
primType | Type of primitives to render. |
pMaterial | Material to use when rendering the mesh. |
pEntity | Optional pointer to an entity stateblock. |
pMaterialOverride | Optional pointer to a material override stateblock. |
pView | Optional pointer to a view stateblock. |