# StencilFunction

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

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

### Members

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

  The stencil test always passes.

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

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

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

  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 70

  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 30

  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 46

  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 22

  The stencil test never passes.

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

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