Microsoft DirectX 8.0 (C++)

ID3DXPMesh

Applications use the methods of the ID3DXPMesh interface to manipulate progressive mesh objects. A progressive mesh enables progressive refinement of the mesh object.

The ID3DXPMesh interface is obtained by calling the D3DXGeneratePMesh function.

The ID3DXPMesh interface inherits the following ID3DXBaseMesh methods, which can be organized into the following groups.

Buffers GetIndexBuffer
  GetVertexBuffer
  LockIndexBuffer
  LockVertexBuffer
  UnlockIndexBuffer
  UnlockVertexBuffer
Copying CloneMesh
  CloneMeshFVF
Faces GetNumFaces
Information GetDevice
  GetOptions
Rendering DrawSubset
  GetAttributeTable
Vertices GetFVF
  GetNumVertices

The methods of the ID3DXPMesh interface can be organized into the following groups.

Copying ClonePMesh
  ClonePMeshFVF
Faces GetMaxFaces
  GetMinFaces
  SetNumFaces
Miscellaneous GetAdjacency
  Save
Optimization Optimize
Vertices GetMaxVertices
  GetMinVertices
  SetNumVertices

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

IUnknown AddRef
  QueryInterface
  Release

The LPD3DXPMESH type is defined as a pointer to the ID3DXPMesh interface.

typedef struct ID3DXPMesh *LPD3DXPMESH;

Requirements

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

See Also

Mesh Functions