xenocara/doc/gl-docs/GL/gl/depthmask.3gl
2006-11-29 17:00:35 +00:00

47 lines
1.2 KiB
Plaintext

'\" e
'\"! eqn | mmdoc
'\"macro stdmacro
.ds Vn Version 1.2
.ds Dt 24 September 1999
.ds Re Release 1.2.1
.ds Dp Jan 14 18:30
.ds Dm 01 depthmask
.ds Xs 13631 3 depthmask.gl
.TH GLDEPTHMASK 3G
.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(3G)\fP,
\%\f3glDepthFunc(3G)\fP,
\%\f3glDepthRange(3G)\fP,
\%\f3glIndexMask(3G)\fP,
\%\f3glStencilMask(3G)\fP