Sets hierarchical stencil compare states that will persist on a given resource.
public:
void SetHiStencilStateX(
ID3D12Resource *pResource,
const D3D12XBOX_HISTENCIL_CONTROL *pControl
)
pResource
Type: ID3D12ResourceĀ *
[in] The resource, as a pointer to ID3D12Resource.
pControl
Type: D3D12XBOX_HISTENCIL_CONTROLĀ *
[in, optional] The stencil state-control structure, as a pointer to a D3D12XBOX_HISTENCIL_CONTROL.
SetHiStencilStateX is an Xbox One extension for graphics command lists. SetHiStencilStateX sets hierarchical stencil compare states that will persist on a given resource. In contrast, ID3D12GraphicsCommandList::SetHiStencilControlX provides a direct but temporary override until the next depth/stencil resource is bound to the pipeline.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.