IPixD3DState::GetDepthBounds method

Get the depth bounds currently set on the command list via ID3D12GraphicsCommandList1::OMSetDepthBounds.

Syntax

HRESULT GetDepthBounds(
    FLOAT * pMin,
    FLOAT * pMax);

Parameters

pMin [out]

No description provided.

pMax [out]

No description provided.

Returns

Returns failure if OMSetDepthBounds has not been called or is not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).

Remarks

Only active when the bound PSO's depth-stencil state has DepthBoundsTestEnable (D3D12_DEPTH_STENCIL_DESC1).

See also