StencilState class

StencilState class

Stencil states per face.

The StencilState type exposes the following members:

Properties

PropertyDescription
compareGets or sets the compare function used in stencil test
fail_actionGets or sets the stencil action when stencil test fails.
depth_fail_actionGets or sets the stencil action when stencil test pass but depth test fails.
pass_actionGets or sets the stencil action when both stencil test and depth test passes.

See Also