1GLDEPTHMASK(3G) GLDEPTHMASK(3G)
2
3
4
6 glDepthMask - enable or disable writing into the depth buffer
7
8
10 void glDepthMask( GLboolean flag )
11
12
14 flag Specifies whether the depth buffer is enabled for writing. If
15 flag is GL_FALSE, depth buffer writing is disabled. Otherwise,
16 it is enabled. Initially, depth buffer writing is enabled.
17
19 glDepthMask specifies whether the depth buffer is enabled for writing.
20 If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it
21 is enabled. Initially, depth buffer writing is enabled.
22
24 GL_INVALID_OPERATION is generated if glDepthMask is executed between
25 the execution of glBegin and the corresponding execution of glEnd.
26
28 glGet with argument GL_DEPTH_WRITEMASK
29
31 glColorMask(3G), glDepthFunc(3G), glDepthRange(3G), glIndexMask(3G),
32 glStencilMask(3G)
33
34
35
36 GLDEPTHMASK(3G)