Export (0) Print
Expand All
End
Map
Expand Minimize

ID3D11DeviceContext::IAGetIndexBuffer method

Get a pointer to the index buffer that is bound to the input-assembler stage.

Syntax


void IAGetIndexBuffer(
  [out]  ID3D11Buffer **pIndexBuffer,
  [out]  DXGI_FORMAT *Format,
  [out]  UINT *Offset
);

Parameters

pIndexBuffer [out]

Type: ID3D11Buffer**

A pointer to an index buffer returned by the method (see ID3D11Buffer).

Format [out]

Type: DXGI_FORMAT*

Specifies format of the data in the index buffer (see DXGI_FORMAT). These formats provide the size and type of the data in the buffer. The only formats allowed for index buffer data are 16-bit (DXGI_FORMAT_R16_UINT) and 32-bit (DXGI_FORMAT_R32_UINT) integers.

Offset [out]

Type: UINT*

Offset (in bytes) from the start of the index buffer, to the first index to use.

Return value

Returns nothing.

Remarks

Any returned interfaces will have their reference count incremented by one. Applications should call IUnknown::Release on the returned interfaces when they are no longer needed to avoid memory leaks.

Windows Phone 8: This API is supported.

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11DeviceContext

 

 

Community Additions

ADD
Show:
© 2014 Microsoft