2009-03-08 00:46:58 +00:00
<?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
2014-03-28 19:06:55 +00:00
<refentry id= "glClearDepthf" >
2009-03-08 00:46:58 +00:00
<refmeta >
2014-03-28 19:06:55 +00:00
<refmetainfo >
<copyright >
<year > 1991-2006</year>
<holder > Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle > glClearDepthf</refentrytitle>
2009-03-08 00:46:58 +00:00
<manvolnum > 3G</manvolnum>
</refmeta>
<refnamediv >
2014-03-28 19:06:55 +00:00
<refname > glClearDepthf</refname>
2009-03-08 00:46:58 +00:00
<refpurpose > specify the clear value for the depth buffer</refpurpose>
</refnamediv>
<refsynopsisdiv > <title > C Specification</title>
<funcsynopsis >
2010-11-21 14:34:29 +00:00
<funcprototype >
<funcdef > void <function > glClearDepthf</function> </funcdef>
2014-03-28 19:06:55 +00:00
<paramdef > GLclampf <parameter > depth</parameter> </paramdef>
2010-11-21 14:34:29 +00:00
</funcprototype>
2009-03-08 00:46:58 +00:00
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id= "parameters" > <title > Parameters</title>
<variablelist >
<varlistentry >
<term > <parameter > depth</parameter> </term>
<listitem >
<para >
Specifies the depth value used when the depth buffer is cleared. The
initial value is 1.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id= "description" > <title > Description</title>
<para >
2014-03-28 19:06:55 +00:00
<function > glClearDepthf</function> specifies the depth value used by <citerefentry > <refentrytitle > glClear</refentrytitle> </citerefentry> to clear the depth buffer.
Values specified by <function > glClearDepthf</function> are clamped to the range
2009-03-08 00:46:58 +00:00
<inlineequation > <mml:math >
2014-03-28 19:06:55 +00:00
<!-- eqn: [0,1]: -->
2009-03-08 00:46:58 +00:00
<mml:mfenced open= "[" close= "]" >
<mml:mn > 0</mml:mn>
<mml:mn > 1</mml:mn>
</mml:mfenced>
</mml:math> </inlineequation> .
</para>
</refsect1>
<refsect1 id= "associatedgets" > <title > Associated Gets</title>
<para >
<citerefentry > <refentrytitle > glGet</refentrytitle> </citerefentry> with argument <constant > GL_DEPTH_CLEAR_VALUE</constant>
</para>
</refsect1>
<refsect1 id= "seealso" > <title > See Also</title>
<para >
2014-03-28 19:06:55 +00:00
<citerefentry > <refentrytitle > glClear</refentrytitle> </citerefentry>
2009-03-08 00:46:58 +00:00
</para>
</refsect1>
2014-03-28 19:06:55 +00:00
<refsect1 id= "copyright" > <title > Copyright</title>
2009-03-08 00:46:58 +00:00
<para >
2014-03-28 19:06:55 +00:00
Copyright <trademark class= "copyright" > </trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
2009-03-08 00:46:58 +00:00
<ulink url= "http://oss.sgi.com/projects/FreeB/" > http://oss.sgi.com/projects/FreeB/</ulink> .
</para>
</refsect1>
</refentry>