ID3DXSPMesh

Applications use the methods of the ID3DXSPMesh interface to manipulate simplification mesh objects. A simplification mesh is used to simplify a given mesh to a lower number of faces.

ID3DXSPMesh Members

Method Description
ID3DXSPMesh::CloneMesh Clones a mesh using a declarator.
ID3DXSPMesh::CloneMeshFVF Clones a mesh using a flexible vertex format (FVF) code.
ID3DXSPMesh::ClonePMesh Clones a progressive mesh using a declarator.
ID3DXSPMesh::ClonePMeshFVF Clones a progressive mesh using a flexible vertex format (FVF) code.
ID3DXSPMesh::GetDeclaration Retrieves a declaration describing the vertices in the mesh.
ID3DXSPMesh::GetDevice Retrieves the device object associated with the simplification mesh.
ID3DXSPMesh::GetFVF Retrieves the flexible vertex format (FVF) of the vertices in the simplification mesh.
ID3DXSPMesh::GetMaxFaces Retrieves the maximum number of faces that the simplification mesh supports.
ID3DXSPMesh::GetMaxVertices Retrieves the maximum number of vertices that the simplification mesh supports.
ID3DXSPMesh::GetNumFaces Retrieves the number of faces in the simplification mesh.
ID3DXSPMesh::GetNumVertices Retrieves the number of vertices in the simplification mesh.
ID3DXSPMesh::GetOptions Retrieves the mesh options enabled for this simplification mesh at creation time.
ID3DXSPMesh::GetVertexAttributeWeights Retrieves the per-vertex attribute weights used to create the ID3DXSPMesh object.
ID3DXSPMesh::GetVertexWeights Retrieves the per-vertex weights used to create the ID3DXSPMesh object.
ID3DXSPMesh::ReduceFaces Reduces the number of faces in a simplification mesh.
ID3DXSPMesh::ReduceVertices Reduces the number of vertices in a simplification mesh.

Remarks

The ID3DXSPMesh interface is obtained by calling the D3DXCreateSPMesh function.

The LPD3DXSPMESH> type is defined as a pointer to the ID3DXSPMesh interface.

typedef struct ID3DXSPMesh *LPD3DXSPMESH;

See Also

Mesh Functions

Requirements

Header: Declared in D3dx9mesh.h.

Import Library: Use D3dx9.lib.