Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > eee00533ac83fd7ebbf9846dc6d3b77b > files > 71

Io-language-graphics-and-sound-20080330-6.fc15.i686.rpm

<HTML>
<BODY>
<PRE>
     <STRONG>NAME</STRONG>
	  <STRONG>glDepthMask</STRONG> -	enable or disable writing into the depth
	  buffer


     <STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG>
	  void <STRONG>glDepthMask</STRONG>( GLboolean <EM>flag</EM> )


     <STRONG>PARAMETERS</STRONG>
	  <EM>flag</EM>	Specifies whether the depth buffer is enabled for
		writing.  If <EM>flag</EM> is <STRONG>GL_FALSE</STRONG>, depth buffer writing is
		disabled.  Otherwise, it is enabled.  Initially, depth
		buffer writing is enabled.

     <STRONG>DESCRIPTION</STRONG>
	  <STRONG>glDepthMask</STRONG> specifies	whether	the depth buffer is enabled
	  for writing.	If <EM>flag</EM>	is <STRONG>GL_FALSE</STRONG>, depth buffer writing is
	  disabled.  Otherwise,	it is enabled.	Initially, depth
	  buffer writing is enabled.

     <STRONG>ERRORS</STRONG>
	  <STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>glDepthMask</STRONG> is executed
	  between the execution	of <STRONG>glBegin</STRONG> and the corresponding
	  execution of <STRONG>glEnd</STRONG>.

     <STRONG>ASSOCIATED</STRONG>	<STRONG>GETS</STRONG>
	  <STRONG>glGet</STRONG>	with argument <STRONG>GL_DEPTH_WRITEMASK</STRONG>

     <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG>
	  <STRONG>glColorMask</STRONG>, <STRONG>glDepthFunc</STRONG>, <STRONG>glDepthRange</STRONG>, <STRONG>glIndexMask</STRONG>,
	  <STRONG>glStencilMask</STRONG>




















</PRE>
</BODY>
</HTML>