Microsoft DirectX 8.0 (C++)

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.

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
  ReduceVertices

The ID3DXSPMesh interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods.

IUnknown AddRef
  QueryInterface
  Release

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

typedef struct ID3DXSPMesh *LPD3DXSPMESH;

Requirements

  Header: Declared in D3dx8mesh.h.
  Import Library: Use D3dx8.lib.

See Also

Mesh Functions