IPixD3DState::GetIndexBuffer method

Get the index buffer currently bound on the command list via ID3D12GraphicsCommandList::IASetIndexBuffer.

Syntax

HRESULT GetIndexBuffer(
    REFIID riid,
    void ** ppView);

Parameters

riid [in]

The interface IID of the index buffer view to be returned. Expected: IPixIndexBufferView.

ppView [out]

Pointer to the returned interface.

Returns

Returns failure if no index buffer is bound or is not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).

See also