Microsoft DirectX 8.1 (C++) |
Applications use the methods of the ID3DXPMesh interface to manipulate progressive mesh objects. A progressive mesh enables progressive refinement of the mesh object.
To obtain the ID3DXPMesh interface, call the D3DXGeneratePMesh function. The methods of the ID3DXPMesh interface can be organized into the following groups.
Copying | ClonePMesh |
ClonePMeshFVF | |
Faces | GetMaxFaces |
GetMinFaces | |
SetNumFaces | |
TrimByFaces | |
Miscellaneous | GetAdjacency |
Save | |
Optimization | Optimize |
OptimizeBaseLOD | |
Vertices | GetMaxVertices |
GetMinVertices | |
SetNumVertices | |
TrimByVertices |
This interface inherits additional functionality from the ID3DXBaseMesh interface.
This interface, like all COM interfaces, inherits additional functionality from the IUnknown Interface.
The LPD3DXPMESH type is defined as a pointer to the ID3DXPMesh interface, as shown below.
typedef struct ID3DXPMesh *LPD3DXPMESH;
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.