clearDepth method
The WebGLRenderingContext.clearDepth()
method of the
WebGL API
specifies the clear value for the
depth buffer.
This specifies what depth value to use when calling the WebGLRenderingContext.clear method. The value is clamped between 0 and 1.
Implementation
external void clearDepth(GLclampf depth);