IPixD3DState::GetBackStencilRef method

Get the back stencil reference value currently set on the command list via ID3D12GraphicsCommandList::OMSetStencilRef or ID3D12GraphicsCommandList8::OMSetFrontAndBackStencilRef.

Syntax

HRESULT GetBackStencilRef(
    UINT * pRef);

Parameters

pRef [out]

No description provided.

Returns

Returns failure if OMSetStencilRef / OMSetFrontAndBackStencilRef has not been called or is not supported.

Remarks

If the device doesn't support independent front and back stencil refs and OMSetStencilRef has been called, this function will return the same value as GetFrontStencilRef.

See also