ID3DX10MeshBuffer interface

A mesh buffer is a buffer that contains data about a mesh. It can contain one of five different types of data: vertex data, index data, adjacency data, attribute data, or point rep data. The structure is used to access these five pieces of data through the following five APIs: ID3DX10Mesh::GetVertexBuffer, ID3DX10Mesh::GetIndexBuffer, ID3DX10Mesh::GetAdjacencyBuffer, ID3DX10Mesh::GetAttributeBuffer, or ID3DX10Mesh::GetPointRepBuffer.

Members

The ID3DX10MeshBuffer interface inherits from the IUnknown interface. ID3DX10MeshBuffer also has these types of members:

Methods

The ID3DX10MeshBuffer interface has these methods.

MethodDescription
GetSize

Get the size of the mesh buffer, in bytes.

Map

Get a pointer to the mesh buffer memory to modify its contents.

Unmap

Unmap a buffer.

 

Requirements

Header

D3DX10.h

Library

D3DX10.lib

See also

D3DX Interfaces

 

 

Show: