ID3DX10Mesh::SetIndexData method

Set the mesh's index data.

Syntax

HRESULT SetIndexData(
  [in] const void *pData,
  [in]       UINT cIndices
);

Parameters

pData [in]

Type: const void*

The index data.

cIndices [in]

Type: UINT

The number of indices in pData.

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