# DepthFunction

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

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

### Members

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

The depth test always passes.

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

The depth test passes if the incoming depth is equal to the stored depth.

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

The depth test passes if the incoming depth is greater than the stored depth.

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

The depth test passes if the incoming depth is greater than or equal to the stored depth.

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

The depth test passes if the incoming depth is less than the stored depth.

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

The depth test passes if the incoming depth is less than or equal to the stored depth.

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

The depth test never passes.

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

The depth test passes if the incoming depth is not equal to the stored depth.