IPixD3DState::GetDepthBias 方法

透過 ID3D12GraphicsCommandList9::RSSetDepthBias 取得命令清單深度偏差覆寫設定。

語法

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

參數

pDepthBias [出]

沒有提供描述。

pDepthBiasClamp [出]

沒有提供描述。

pSlopeScaledDepthBias [出]

沒有提供描述。

傳回

如果尚未呼叫 RSSetDepthBias 或不支援 RSSetDepthBias,則傳回失敗 (例如GPU 驅動程式不支援在 dxdmp 檔案案例) 中錄製資訊。

註解

如果管線狀態 (透過D3D12_RASTERIZER_DESC) 覆寫這些值,此函式會傳回目前的值,而不是 RSSetDepthBias 所設定的原始值。

另請參閱