ID3D12GraphicsCommandList::OMSetStencilRef method (d3d12.h)

Sets the reference value for depth stencil tests.

Syntax

void OMSetStencilRef(
  [in] UINT StencilRef
);

Parameters

[in] StencilRef

Type: UINT

Reference value to perform against when doing a depth-stencil test.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header d3d12.h
Library D3d12.lib
DLL D3d12.dll

See also

ID3D12GraphicsCommandList