depthMask method

void depthMask(
  1. GLboolean flag
)

The WebGLRenderingContext.depthMask() method of the WebGL API sets whether writing into the depth buffer is enabled or disabled.

Implementation

external void depthMask(GLboolean flag);