'\"! tbl|eqn | mmdoc '\"macro stdmacro .ds Vn Version 1.2 .ds Dt 6 March 1997 .ds Re Release 1.1.0 .ds Dp Mar 17 18:03 .ds Dm Mar 6 20:0 .ds Xs 10043 2 clearcolor.gl .TH GLCLEARCOLOR .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