IPixD3DState::GetDepthStencil method

Get the depth stencil view currently bound on the command list via ID3D12GraphicsCommandList::OMSetRenderTargets.

Syntax

HRESULT GetDepthStencil(
    REFIID riid,
    void ** ppDepthStencil);

Parameters

riid [in]

The interface IID of the depth stencil view to be returned. Expected: IPixDepthStencilView.

ppDepthStencil [out]

Pointer to the returned interface.

Returns

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

See also