IPixD3DState::GetRenderTargets method

Get the render targets currently bound on the command list via ID3D12GraphicsCommandList::OMSetRenderTargets.

Syntax

HRESULT GetRenderTargets(
    REFIID riid,
    void ** ppRenderTargets);

Parameters

riid [in]

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

ppRenderTargets [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 entries are in slot order. The max number of entries is D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT.

See also