1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"glClearDepth">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glClearDepth
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glClearDepth
</refname>
17 <refpurpose>specify the clear value for the depth buffer
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glClearDepth
</function></funcdef>
23 <paramdef>GLclampd
<parameter>depth
</parameter></paramdef>
27 <refsect1 id=
"parameters"><title>Parameters
</title>
30 <term><parameter>depth
</parameter></term>
33 Specifies the depth value used when the depth buffer is cleared. The
40 <refsect1 id=
"description"><title>Description
</title>
42 <function>glClearDepth
</function> specifies the depth value used by
<citerefentry><refentrytitle>glClear
</refentrytitle></citerefentry> to clear the depth buffer.
43 Values specified by
<function>glClearDepth
</function> are clamped to the range
44 <inlineequation><mml:math>
46 <mml:mfenced open=
"[" close=
"]">
50 </mml:math></inlineequation>.
53 <refsect1 id=
"associatedgets"><title>Associated Gets
</title>
55 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_DEPTH_CLEAR_VALUE
</constant>
58 <refsect1 id=
"seealso"><title>See Also
</title>
60 <citerefentry><refentrytitle>glClear
</refentrytitle></citerefentry>
63 <refsect1 id=
"Copyright"><title>Copyright
</title>
65 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
66 Silicon Graphics, Inc. This document is licensed under the SGI
67 Free Software B License. For details, see
68 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.