GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of GLCLEARCOLOR

GLCLEARCOLOR

Index
 

NAME

glClearColor - specify clear values for the color buffers

 

C SPECIFICATION

void f3glClearColorfP( GLclampf fIredfP,
f2redfP, f2greenfP, f2bluefP, f2alphafP
Specify the red, green, blue, and alpha values used when the
color buffers are cleared.
The initial values are all 0.
 

DESCRIPTION

%f3glClearColorfP specifies the red, green, blue, and alpha values used by %f3glClearfP to clear the color buffers. Values specified by %f3glClearColorfP are clamped to the range [0, 1].  

ERRORS

%f3GL_INVALID_OPERATIONfP is generated if %f3glClearColorfP is executed between the execution of %f3glBeginfP and the corresponding execution of %f3glEndfP.  

ASSOCIATED GETS

%f3glGetfP with argument %f3GL_COLOR_CLEAR_VALUEfP  

SEE ALSO

%f3glClear(3G)fP


 

Index

NAME
C SPECIFICATION
DESCRIPTION
ERRORS
ASSOCIATED GETS
SEE ALSO