d3d9.dllID3DXSPMesh
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXSPMesh Interface


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

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

Interface Information

Stock Implementationd3d9.dll
Custom ImplementationNo
Inherits fromIUnknown
Headerd3dx9mesh.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98

See Also

Mesh Functions


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.