DepthFunction
Determines the function used to compare two depths for the depth test.
Source:
Scene/DepthFunction.js, line 10
Members
-
staticconstantDepthFunction.ALWAYS :Number
-
0x207. The depth test always passes.Source: Scene/DepthFunction.js, line 73
-
staticconstantDepthFunction.EQUAL :Number
-
0x202. The depth test passes if the incoming depth is equal to the stored depth.Source: Scene/DepthFunction.js, line 33
-
staticconstantDepthFunction.GREATER :Number
-
0x204. The depth test passes if the incoming depth is greater than the stored depth.Source: Scene/DepthFunction.js, line 49
-
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 65
-
staticconstantDepthFunction.LESS :Number
-
0x201. The depth test passes if the incoming depth is less than the stored depth.Source: Scene/DepthFunction.js, line 25
-
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 41
-
staticconstantDepthFunction.NEVER :Number
-
0x200. The depth test never passes.Source: Scene/DepthFunction.js, line 17
-
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 57