'\" t .\" Title: glClearDepth .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 05/30/2012 .\" Manual: [FIXME: manual] .\" Source: [FIXME: source] .\" Language: English .\" .TH "GLCLEARDEPTH" "3G" "05/30/2012" "[FIXME: source]" "[FIXME: manual]" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" glClearDepth \- specify the clear value for the depth buffer .SH "C SPECIFICATION" .HP \w'void\ glClearDepth('u .BI "void glClearDepth(GLdouble\ " "depth" ");" .HP \w'void\ glClearDepthf('u .BI "void glClearDepthf(GLfloat\ " "depth" ");" .SH "PARAMETERS" .PP \fIdepth\fR .RS 4 Specifies the depth value used when the depth buffer is cleared\&. The initial value is 1\&. .RE .SH "DESCRIPTION" .PP \fBglClearDepth\fR specifies the depth value used by \fBglClear\fR() to clear the depth buffer\&. Values specified by \fBglClearDepth\fR are clamped to the range 0 1\&. .SH "NOTES" .PP The type of the \fIdepth\fR parameter was changed from GLclampf to GLfloat for \fBglClearDepthf\fR and from GLclampd to GLdouble for \fBglClearDepth\fR\&. This change is transparent to user code and is described in detail on the \fBremovedTypes\fR() page\&. .SH "ASSOCIATED GETS" .PP \fBglGet\fR() with argument \fBGL_DEPTH_CLEAR_VALUE\fR .SH "SEE ALSO" .PP \fBglClear\fR(), \fBremovedTypes\fR() .SH "COPYRIGHT" .PP Copyright \(co 1991\-2006 Silicon Graphics, Inc\&. This document is licensed under the SGI Free Software B License\&. For details, see \m[blue]\fBhttp://oss\&.sgi\&.com/projects/FreeB/\fR\m[]\&.