Gl.DepthMask (gb.opengl)

Static Sub DepthMask ( Flag As Boolean )

Enable or disable writing into the depth buffer.

Parameters

flag

Specifies whether the depth buffer is enabled for writing. If flag is Gl.FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.

Description

Gl.DepthMask specifies whether the depth buffer is enabled for writing. If flag is Gl.FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.

Associated Gets

Gl.Get with argument Gl.DEPTH_WRITEMASK

See also

See original documentation on OpenGL website