| Microsoft DirectX 8.1 (C++) |
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.
The ID3DXSPMesh interface is obtained by calling the D3DXCreateSPMesh function.
The methods of the ID3DXSPMesh interface can be organized into the following groups.
| Copying | CloneMesh |
| CloneMeshFVF | |
| ClonePMesh | |
| ClonePMeshFVF | |
| Faces | GetMaxFaces |
| GetNumFaces | |
| ReduceFaces | |
| Information | GetDevice |
| GetOptions | |
| Vertices | GetDeclaration |
| GetFVF | |
| GetMaxVertices | |
| GetNumVertices | |
| GetVertexAttributeWeights | |
| GetVertexWeights | |
| ReduceVertices |
The ID3DXSPMesh interface, like all COM interfaces, inherits the IUnknown Interface.
The LPD3DXSPMESH type is defined as a pointer to the ID3DXSPMesh interface.
typedef struct ID3DXSPMesh *LPD3DXSPMESH;
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.