DepthFunction - Cesium Documentation

# DepthFunction

Determines the function used to compare two depths for the depth test.

Source: Scene/DepthFunction.js, line 14

### Members

#### staticconstantDepthFunction.ALWAYS :Number

  0x207. The depth test always passes.
  Source: Scene/DepthFunction.js, line 77

#### staticconstantDepthFunction.EQUAL :Number

  0x202. The depth test passes if the incoming depth is equal to the stored depth.
  Source: Scene/DepthFunction.js, line 37

#### staticconstantDepthFunction.GREATER :Number

  0x204. The depth test passes if the incoming depth is greater than the stored depth.
  Source: Scene/DepthFunction.js, line 53

#### staticconstantDepthFunction.GREATER_OR_EQUAL :Number

  0x206. The depth test passes if the incoming depth is greater than or equal to the stored depth.
  Source: Scene/DepthFunction.js, line 69

#### staticconstantDepthFunction.LESS :Number

  0x201. The depth test passes if the incoming depth is less than the stored depth.
  Source: Scene/DepthFunction.js, line 29

#### staticconstantDepthFunction.LESS_OR_EQUAL :Number

  0x203. The depth test passes if the incoming depth is less than or equal to the stored depth.
  Source: Scene/DepthFunction.js, line 45

#### staticconstantDepthFunction.NEVER :Number

  0x200. The depth test never passes.
  Source: Scene/DepthFunction.js, line 21

#### staticconstantDepthFunction.NOT_EQUAL :Number

  0x0205. The depth test passes if the incoming depth is not equal to the stored depth.
  Source: Scene/DepthFunction.js, line 61