1GLDEPTHMASK(3G)                                                GLDEPTHMASK(3G)
2
3
4

NAME

6       glDepthMask - enable or disable writing into the depth buffer
7
8

C SPECIFICATION

10       void glDepthMask( GLboolean flag )
11
12

PARAMETERS

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

DESCRIPTION

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

ERRORS

24       GL_INVALID_OPERATION  is  generated  if glDepthMask is executed between
25       the execution of glBegin and the corresponding execution of glEnd.
26

ASSOCIATED GETS

28       glGet with argument GL_DEPTH_WRITEMASK
29

SEE ALSO

31       glColorMask(3G),  glDepthFunc(3G),  glDepthRange(3G),  glIndexMask(3G),
32       glStencilMask(3G)
33
34
35
36                                                               GLDEPTHMASK(3G)
Impressum