DepthMask

Syntax

 * gl.depthMask(flag)

Parameters

 * flag: Boolean data type, the default value is true

Examples

 * // Enables writing into the depth buffer
 * gl.depthMask(true);