Determines the function used to compare two depths for the depth test.
Source:
Scene/DepthFunction.js, line 16
Members
-
staticconstantDepthFunction.ALWAYS :Number
-
The depth test always passes.Source: Scene/DepthFunction.js, line 79
-
staticconstantDepthFunction.EQUAL :Number
-
The depth test passes if the incoming depth is equal to the stored depth.Source: Scene/DepthFunction.js, line 39
-
staticconstantDepthFunction.GREATER :Number
-
The depth test passes if the incoming depth is greater than the stored depth.Source: Scene/DepthFunction.js, line 55
-
staticconstantDepthFunction.GREATER_OR_EQUAL :Number
-
The depth test passes if the incoming depth is greater than or equal to the stored depth.Source: Scene/DepthFunction.js, line 71
-
staticconstantDepthFunction.LESS :Number
-
The depth test passes if the incoming depth is less than the stored depth.Source: Scene/DepthFunction.js, line 31
-
staticconstantDepthFunction.LESS_OR_EQUAL :Number
-
The depth test passes if the incoming depth is less than or equal to the stored depth.Source: Scene/DepthFunction.js, line 47
-
staticconstantDepthFunction.NEVER :Number
-
The depth test never passes.Source: Scene/DepthFunction.js, line 23
-
staticconstantDepthFunction.NOT_EQUAL :Number
-
The depth test passes if the incoming depth is not equal to the stored depth.Source: Scene/DepthFunction.js, line 63