Sophie

Sophie

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

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

<HTML>
<BODY>
<PRE>
     <STRONG>NAME</STRONG>
	  <STRONG>glClearDepth</STRONG> - specify the clear value for the depth buffer


     <STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG>
	  void <STRONG>glClearDepth</STRONG>( GLclampd <EM>depth</EM> )


     <STRONG>PARAMETERS</STRONG>
	  <EM>depth</EM>	 Specifies the depth value used	when the depth buffer
		 is cleared. The initial value is 1.

     <STRONG>DESCRIPTION</STRONG>
	  <STRONG>glClearDepth</STRONG> specifies the depth value used by <STRONG>glClear</STRONG> to
	  clear	the depth buffer.  Values specified by <STRONG>glClearDepth</STRONG>
	  are clamped to the range [0,1].

     <STRONG>ERRORS</STRONG>
	  <STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>glClearDepth</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_CLEAR_VALUE</STRONG>

     <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG>
	  <STRONG>glClear</STRONG>

























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