IPixD3DState::GetStreamOutputBuffers method

Get the stream output buffer views set via ID3D12GraphicsCommandList::SOSetTargets.

Syntax

HRESULT GetStreamOutputBuffers(
    REFIID riid,
    void ** ppStreamOutputBuffers);

Parameters

riid [in]

The interface IID of the collection to be returned. Expected: IPixCollection<IPixStreamOutputView>.

ppStreamOutputBuffers [out]

Pointer to the returned interface.

Returns

Returns failure if not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).

Remarks

Collection has D3D12_SO_BUFFER_SLOT_COUNT entries. Unbound slots carry an IPixStreamOutputView with SizeInBytes=0.

See also