Microsoft DirectX 8.0 (C++)

ID3DXBaseMesh

Applications use the methods of the ID3DXBaseMesh interface to manipulate and query mesh and progressive mesh objects.

The methods of the ID3DXBaseMesh interface 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 GetDeclaration
  GetFVF
  GetNumVertices

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

IUnknown AddRef
  QueryInterface
  Release

A mesh is an object made up of a set of polygonal faces. A mesh defines a set of vertices and a set of faces (the faces are defined in terms of the vertices and normals of the mesh).

The LPD3DXBASEMESH type is defined as a pointer to the ID3DXBaseMesh interface.

typedef struct ID3DXBaseMesh *LPD3DXBASEMESH;

Requirements

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

See Also

ID3DXMesh, ID3DXPMesh