Expand Minimize

depthMask method

Sets whether or not you can write to the depth buffer.

IE11

Syntax

WebGLRenderingContext.depthMask(flag);

Parameters

flag [in]

Type: boolean

ValueMeaning
true

You can write to the depth buffer.

false

You can't write to the depth buffer.

 

Return value

This method does not return a value.

See also

WebGLRenderingContext

 

 

Show:
© 2014 Microsoft