# StencilFunction

#### StencilFunction()
Scene/StencilFunction.js 14

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

### Members

#### static constantCesium.StencilFunction.ALWAYS : Number
Scene/StencilFunction.js 77

The stencil test always passes.

#### static constantCesium.StencilFunction.EQUAL : Number
Scene/StencilFunction.js 37

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

#### static constantCesium.StencilFunction.GREATER : Number
Scene/StencilFunction.js 53

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

#### static constantCesium.StencilFunction.GREATER_OR_EQUAL : Number
Scene/StencilFunction.js 69

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

#### static constantCesium.StencilFunction.LESS : Number
Scene/StencilFunction.js 29

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

#### static constantCesium.StencilFunction.LESS_OR_EQUAL : Number
Scene/StencilFunction.js 45

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

#### static constantCesium.StencilFunction.NEVER : Number
Scene/StencilFunction.js 21

The stencil test never passes.

#### static constantCesium.StencilFunction.NOT_EQUAL : Number
Scene/StencilFunction.js 61

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