Interface IStencilState
backFunc: number;
backOpDepthFail: number;
backOpStencilDepthPass: number;
backOpStencilFail: number;
enabled: boolean;
func: number;
funcMask: number;
funcRef: number;
mask: number;
opDepthFail: number;
opStencilDepthPass: number;
opStencilFail: number;
reset(): void;
}
Hierarchy (View Summary)
- IStencilStateProperties
- IStencilState
Implemented by
Index
Properties
back Func
The stencil comparison function to use for back faces.
back Op Depth Fail
The operation to perform when the stencil test passes but the depth test fails for back faces.
back Op Stencil Depth Pass
The operation to perform when both the stencil and depth tests pass for back faces.
back Op Stencil Fail
The operation to perform when the stencil test fails for back faces.
enabled
Whether the stencil test is enabled or not.
func
The stencil comparison function to use for front faces.
func Mask
The stencil mask to use for reading.
func Ref
The reference value to use for the stencil test.
mask
The stencil mask to use for writing.
op Depth Fail
The operation to perform when the stencil test passes but the depth test fails for front faces.
op Stencil Depth Pass
The operation to perform when both the stencil and depth tests pass for front faces.
op Stencil Fail
The operation to perform when the stencil test fails for front faces.
Interface defining the stencil state.