Expand Minimize

clearDepth method

Clears the depth buffer to a specific value.

IE11

 

Syntax

WebGLRenderingContext.clearDepth(depth);

Parameters

depth [in]

Type: Number

Value in the range of 0 to 1 to clear the depth buffer to.

Return value

This method does not return a value.

See also

WebGLRenderingContext

 

 

Show:
© 2014 Microsoft