Struct StencilFace
- Namespace
- Pie
- Assembly
- Pie.dll
Used in DepthStencilStateDescription to describe actions that occur for a given stencil face.
public struct StencilFace
- Inherited Members
Constructors
StencilFace(StencilOp, StencilOp, StencilOp, ComparisonFunc)
Create a new StencilFace.
public StencilFace(StencilOp stencilFailOp, StencilOp depthFailOp, StencilOp depthStencilPassOp, ComparisonFunc stencilFunc)
Parameters
stencilFailOp
StencilOpThe operation to perform when the stencil test fails.
depthFailOp
StencilOpThe operation to perform when the depth test fails.
depthStencilPassOp
StencilOpThe operation to perform when both the depth and stencil test pass.
stencilFunc
ComparisonFuncThe function to use when comparing new stencil data to existing stencil data.
Fields
DepthFailOp
The operation to perform when the depth test fails.
public StencilOp DepthFailOp
Field Value
- StencilOp
- Used in to describe actions that occur for a given stencil face.
DepthStencilPassOp
The operation to perform when both the depth and stencil test pass.
public StencilOp DepthStencilPassOp
Field Value
- StencilOp
- Used in to describe actions that occur for a given stencil face.
StencilFailOp
The operation to perform when the stencil test fails.
public StencilOp StencilFailOp
Field Value
- StencilOp
- Used in to describe actions that occur for a given stencil face.
StencilFunc
The function to use when comparing new stencil data to existing stencil data.
public ComparisonFunc StencilFunc
Field Value
- ComparisonFunc
- Used in to describe actions that occur for a given stencil face.