'\"! eqn | mmdoc '\"macro stdmacro .ds Vn Version 1.2 .ds Dt 6 March 1997 .ds Re Release 1.1.0 .ds Dp Mar 17 18:04 .ds Dm Mar 6 20:0 .ds Xs 24959 3 depthmask.gl .TH GLDEPTHMASK .SH NAME .B "glDepthMask \- enable or disable writing into the depth buffer .SH C SPECIFICATION void \f3glDepthMask\fP( GLboolean \fIflag\fP ) .nf .fi .SH PARAMETERS .TP \w'\f2flag\fP\ \ 'u \f2flag\fP Specifies whether the depth buffer is enabled for writing. If \f2flag\fP is \f3GL_FALSE\fP, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. .SH DESCRIPTION \f3glDepthMask\fP specifies whether the depth buffer is enabled for writing. If \f2flag\fP is \f3GL_FALSE\fP, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. .SH ERRORS \f3GL_INVALID_OPERATION\fP is generated if \f3glDepthMask\fP is executed between the execution of \f3glBegin\fP and the corresponding execution of \f3glEnd\fP. .SH ASSOCIATED GETS \f3glGet\fP with argument \f3GL_DEPTH_WRITEMASK\fP .SH SEE ALSO \f3glColorMask\fP, \f3glDepthFunc\fP, \f3glDepthRange\fP, \f3glIndexMask\fP, \f3glStencilMask\fP