IPixD3DState::GetFrontStencilRef 方法

透過 ID3D12GraphicsCommandList::OMSetStencilRef 或 ID3D12GraphicsCommandList8::OMSetFrontAndBackStencilRef,取得目前設定在命令清單上的前面樣板參考值。

語法

HRESULT GetFrontStencilRef(
    UINT * pRef);

參數

pRef [出]

沒有提供描述。

傳回

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

另請參閱