ID3D12GraphicsCommandList::SetHiStencilStateX Method

Sets hierarchical stencil compare states that will persist on a given resource.

Syntax

public:
void SetHiStencilStateX(
         ID3D12Resource *pResource,
         const D3D12XBOX_HISTENCIL_CONTROL *pControl
)  

Parameters

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.

Return value

None.

Remarks

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.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12GraphicsCommandList Interface

ID3D12GraphicsCommandList Members