StencilOperation

StencilOperation

Determines the action taken based on the result of the stencil test.

Members

staticconstantStencilOperation.DECREMENT :Number

0x1E03. Decrements the stencil buffer value, clamping to zero.

staticconstantStencilOperation.DECREMENT_WRAP :Number

0x8508. Decrements the stencil buffer value, wrapping to the maximum unsigned byte instead of going below zero.

staticconstantStencilOperation.INCREMENT :Number

0x1E02. Increments the stencil buffer value, clamping to unsigned byte.

staticconstantStencilOperation.INCREMENT_WRAP :Number

0x8507. Increments the stencil buffer value, wrapping to zero when exceeding the unsigned byte range.

staticconstantStencilOperation.INVERT :Number

0x150A. Bitwise inverts the existing stencil buffer value.

staticconstantStencilOperation.KEEP :Number

0x1E00. Does not change the stencil buffer.

staticconstantStencilOperation.REPLACE :Number

0x1E01. Replaces the stencil buffer value with the reference value.

staticconstantStencilOperation.ZERO :Number

0. Sets the stencil buffer value to zero.