StencilFunction

Determines the function used to compare stencil values for the stencil test.

Members

staticconstantStencilFunction.ALWAYS :Number

The stencil test always passes.

staticconstantStencilFunction.EQUAL :Number

The stencil test passes when the masked reference value is equal to the masked stencil value.

staticconstantStencilFunction.GREATER :Number

The stencil test passes when the masked reference value is greater than the masked stencil value.

staticconstantStencilFunction.GREATER_OR_EQUAL :Number

The stencil test passes when the masked reference value is greater than or equal to the masked stencil value.

staticconstantStencilFunction.LESS :Number

The stencil test passes when the masked reference value is less than the masked stencil value.

staticconstantStencilFunction.LESS_OR_EQUAL :Number

The stencil test passes when the masked reference value is less than or equal to the masked stencil value.

staticconstantStencilFunction.NEVER :Number

The stencil test never passes.

staticconstantStencilFunction.NOT_EQUAL :Number

The stencil test passes when the masked reference value is not equal to the masked stencil value.