Module: StencilOperation

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

Members

(static, constant) DECREMENT :Number

Decrements the stencil buffer value, clamping to zero.
Type:
  • Number
Source:

(static, constant) DECREMENT_WRAP :Number

Decrements the stencil buffer value, wrapping to the maximum unsigned byte instead of going below zero.
Type:
  • Number
Source:

(static, constant) INCREMENT :Number

Increments the stencil buffer value, clamping to unsigned byte.
Type:
  • Number
Source:

(static, constant) INCREMENT_WRAP :Number

Increments the stencil buffer value, wrapping to zero when exceeding the unsigned byte range.
Type:
  • Number
Source:

(static, constant) INVERT :Number

Bitwise inverts the existing stencil buffer value.
Type:
  • Number
Source:

(static, constant) KEEP :Number

Does not change the stencil buffer.
Type:
  • Number
Source:

(static, constant) REPLACE :Number

Replaces the stencil buffer value with the reference value.
Type:
  • Number
Source:

(static, constant) ZERO :Number

Sets the stencil buffer value to zero.
Type:
  • Number
Source: