StencilFunction

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

Members

staticconstantStencilFunction.ALWAYS :Number

0x0207. The stencil test always passes.

staticconstantStencilFunction.EQUAL :Number

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

staticconstantStencilFunction.GREATER :Number

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

staticconstantStencilFunction.GREATER_OR_EQUAL :Number

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

staticconstantStencilFunction.LESS :Number

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

staticconstantStencilFunction.LESS_OR_EQUAL :Number

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

staticconstantStencilFunction.NEVER :Number

0x0200. The stencil test never passes.

staticconstantStencilFunction.NOT_EQUAL :Number

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