StencilOperation - Cesium Documentation

# StencilOperation

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

Source: Scene/StencilOperation.js, line 14

### Members

#### staticconstantStencilOperation.DECREMENT :Number

  0x1E03. Decrements the stencil buffer value, clamping to zero.
  Source: Scene/StencilOperation.js, line 53

#### staticconstantStencilOperation.DECREMENT_WRAP :Number

  0x8508. Decrements the stencil buffer value, wrapping to the maximum unsigned byte instead of going below zero.
  Source: Scene/StencilOperation.js, line 77

#### staticconstantStencilOperation.INCREMENT :Number

  0x1E02. Increments the stencil buffer value, clamping to unsigned byte.
  Source: Scene/StencilOperation.js, line 45

#### staticconstantStencilOperation.INCREMENT_WRAP :Number

  0x8507. Increments the stencil buffer value, wrapping to zero when exceeding the unsigned byte range.
  Source: Scene/StencilOperation.js, line 69

#### staticconstantStencilOperation.INVERT :Number

  0x150A. Bitwise inverts the existing stencil buffer value.
  Source: Scene/StencilOperation.js, line 61

#### staticconstantStencilOperation.KEEP :Number

  0x1E00. Does not change the stencil buffer.
  Source: Scene/StencilOperation.js, line 29

#### staticconstantStencilOperation.REPLACE :Number

  0x1E01. Replaces the stencil buffer value with the reference value.
  Source: Scene/StencilOperation.js, line 37

#### staticconstantStencilOperation.ZERO :Number

  0. Sets the stencil buffer value to zero.
  Source: Scene/StencilOperation.js, line 21