1GLCLEARCOLOR(3G)                                              GLCLEARCOLOR(3G)
2
3
4

NAME

6       glClearColor - specify clear values for the color buffers
7
8

C SPECIFICATION

10       void glClearColor( GLclampf red,
11                          GLclampf green,
12                          GLclampf blue,
13                          GLclampf alpha )
14
15

PARAMETERS

17       red, green, blue, alpha
18                             Specify  the  red,  green, blue, and alpha values
19                             used when the color  buffers  are  cleared.   The
20                             initial values are all 0.
21

DESCRIPTION

23       glClearColor  specifies  the red, green, blue, and alpha values used by
24       glClear to clear the color buffers.  Values specified  by  glClearColor
25       are clamped to the range [0, 1].
26

ERRORS

28       GL_INVALID_OPERATION  is  generated if glClearColor is executed between
29       the execution of glBegin and the corresponding execution of glEnd.
30

ASSOCIATED GETS

32       glGet with argument GL_COLOR_CLEAR_VALUE
33

SEE ALSO

35       glClear(3G)
36
37
38
39                                                              GLCLEARCOLOR(3G)
Impressum