Module: StencilFunction

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

Members

(static, constant) ALWAYS :Number

The stencil test always passes.
Type:
  • Number
Source:

(static, constant) EQUAL :Number

The stencil test passes when the masked reference value is equal to the masked stencil value.
Type:
  • Number
Source:

(static, constant) GREATER :Number

The stencil test passes when the masked reference value is greater than the masked stencil value.
Type:
  • Number
Source:

(static, constant) GREATER_OR_EQUAL :Number

The stencil test passes when the masked reference value is greater than or equal to the masked stencil value.
Type:
  • Number
Source:

(static, constant) LESS :Number

The stencil test passes when the masked reference value is less than the masked stencil value.
Type:
  • Number
Source:

(static, constant) LESS_OR_EQUAL :Number

The stencil test passes when the masked reference value is less than or equal to the masked stencil value.
Type:
  • Number
Source:

(static, constant) NEVER :Number

The stencil test never passes.
Type:
  • Number
Source:

(static, constant) NOT_EQUAL :Number

The stencil test passes when the masked reference value is not equal to the masked stencil value.
Type:
  • Number
Source: