MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
GLDEPTHMASK(3G)                                                GLDEPTHMASK(3G)



NAME
       glDepthask - enable or disable writing into the depth buffer


C SPECIFICATION
       void glDepthask( GLboolean flag )


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

DESCRIPTION
       glDepthask  specifies whether the depth buffer is enabled for writing.
       If flag is GLFALSE, depth buffer writing is disabled.   Otherwise,  it
       is enabled.  Initially, depth buffer writing is enabled.

ERORS
       GLINVALIDOPERATION  is  generated  if glDepthask is executed between
       the execution of glBegin and the corresponding execution of glEnd.

ASOCIATED GETS
       glGet with argument GLDEPTHWRITEMASK

SEE ALSO
       glColorask, glDepthFunc, glDepthRange, glIndexask, glStencilask



                                                               GLDEPTHMASK(3G)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™