Microsoft DirectX 8.1 (C++) |
Applications use the methods of the ID3DXMesh interface to manipulate mesh objects.
To obtain the ID3DXMesh interface, call either the D3DXCreateMesh or D3DXCreateMeshFVF function. The methods of the ID3DXMesh interface can be organized into the following groups.
Locking | LockAttributeBuffer |
UnlockAttributeBuffer | |
Optimization | Optimize |
OptimizeInplace |
This interface inherits additional functionality from the ID3DXBaseMesh interface.
This interface, like all COM interfaces, inherits additional functionality from the IUnknown Interface.
The LPD3DXMESH type is defined as a pointer to the ID3DXMesh interface, as shown below.
typedef struct ID3DXMesh *LPD3DXMESH;
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.