1GLCLEARCOLOR(3G) OpenGL Manual GLCLEARCOLOR(3G)
2
3
4
6 glClearColor - specify clear values for the color buffers
7
9 void glClearColor(GLfloat red, GLfloat green, GLfloat blue,
10 GLfloat alpha);
11
13 red, green, blue, alpha
14 Specify the red, green, blue, and alpha values used when the color
15 buffers are cleared. The initial values are all 0.
16
18 glClearColor specifies the red, green, blue, and alpha values used by
19 glClear() to clear the color buffers. Values specified by glClearColor
20 are clamped to the range 0 1.
21
23 The type of the red, green, blue, and alpha parameters was changed from
24 GLclampf to GLfloat. This change is transparent to user code and is
25 described in detail on the removedTypes() page.
26
28 glGet() with argument GL_COLOR_CLEAR_VALUE
29
31 glClear(), removedTypes()
32
34 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
35 under the SGI Free Software B License. For details, see
36 http://oss.sgi.com/projects/FreeB/.
37
39 opengl.org
40
41
42
43opengl.org 06/10/2014 GLCLEARCOLOR(3G)