Home > comp > gb.opengl > gl > depthmask 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
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

Gl.ColorMask, Gl.DepthFunc, Gl.DepthRange, Gl.StencilMask

See original documentation on OpenGL website