IPixD3DState::GetDepthBias method

Get the command list depth bias override set via ID3D12GraphicsCommandList9::RSSetDepthBias.

Syntax

HRESULT GetDepthBias(
    FLOAT * pDepthBias,
    FLOAT * pDepthBiasClamp,
    FLOAT * pSlopeScaledDepthBias);

Parameters

pDepthBias [out]

No description provided.

pDepthBiasClamp [out]

No description provided.

pSlopeScaledDepthBias [out]

No description provided.

Returns

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

Remarks

If the pipeline state overrides these values (via the D3D12_RASTERIZER_DESC), this function will return the current values, not the original ones set by RSSetDepthBias.

See also