glClearColor.3   [plain text]


'\" te  
'\"macro stdmacro
.ds Vn Version 1.2
.ds Dt 24 September 1999
.ds Re Release 1.2.1
.ds Dp May 22 14:44
.ds Dm 7 May 22 14:
.ds Xs 36439     3
.TH GLCLEARCOLOR 3G
.SH NAME
.B "glClearColor
\- specify clear values for the color buffers

.SH C SPECIFICATION
void \f3glClearColor\fP(
GLclampf \fIred\fP,
.nf
.ta \w'\f3void \fPglClearColor( 'u
	GLclampf \fIgreen\fP,
	GLclampf \fIblue\fP,
	GLclampf \fIalpha\fP )
.fi

.SH PARAMETERS
.TP \w'\f2red\fP\ \f2green\fP\ \f2blue\fP\ \f2alpha\fP\ \ 'u 
\f2red\fP, \f2green\fP, \f2blue\fP, \f2alpha\fP
Specify the red, green, blue, and alpha values used when the
color buffers are cleared.
The initial values are all 0.
.SH DESCRIPTION
\%\f3glClearColor\fP specifies the red,
green,
blue,
and alpha values used by \%\f3glClear\fP to clear the color buffers.
Values specified by \%\f3glClearColor\fP are clamped to the range [0,\ 1].
.SH ERRORS
\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glClearColor\fP
is executed between the execution of \%\f3glBegin\fP
and the corresponding execution of \%\f3glEnd\fP.
.SH ASSOCIATED GETS
\%\f3glGet\fP with argument \%\f3GL_COLOR_CLEAR_VALUE\fP
.SH SEE ALSO
\%\f3glClear\fP