Class StencilState

StencilState class

Stencil states per face.

public class StencilState

Properties

NameDescription
Compare { get; set; }Gets or sets the compare function used in stencil test
DepthFailAction { get; set; }Gets or sets the stencil action when stencil test pass but depth test fails.
FailAction { get; set; }Gets or sets the stencil action when stencil test fails.
PassAction { get; set; }Gets or sets the stencil action when both stencil test and depth test passes.

Methods

NameDescription
override Equals(object)Returns a value indicating whether this instance is equal to a specified object.
override GetHashCode()Returns the hash code for this instance.

See Also