ID3DX10Mesh::GetIndexBuffer method

Retrieves the data in an index buffer.

Syntax

HRESULT GetIndexBuffer(
  [out] ID3DX10MeshBuffer **ppIndexBuffer
);

Parameters

ppIndexBuffer [out]

Type: ID3DX10MeshBuffer**

Address of a pointer to a ID3DX10MeshBuffer interface, representing the index buffer associated with the mesh.

Return value

Type: HRESULT

The return value is one of the values listed in Direct3D 10 Return Codes.

Requirements

Requirement Value
Header
D3DX10.h
Library
D3DX10.lib

See also

ID3DX10Mesh

D3DX Interfaces