Signature
Parameters
Variables | Description |
---|---|
red, green, blue, alpha |
Specify the red, green, blue, and alpha values used when the
color buffers are cleared.
The initial values are all 0.
|
Description
glClearColor
specifies the red,
green,
blue,
and alpha values used by
glClear
to clear the color buffers.
Values specified by
glClearColor
are clamped to the range
.
Notes
Associated Gets
glGet
with argument
GL_COLOR_CLEAR_VALUE
Version Support
glClearColor |
See Also
glClear
,
removedTypes
Copyright
Copyright
1991-2006 Silicon Graphics, Inc.
Copyright
2010-2014 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
http://oss.sgi.com/projects/FreeB/
.
Sample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glClearColor
{LGPL or GPL or MPL} Kamaelia
Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py
Lines: 458
{LGPL or GPL or MPL} Kamaelia
Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube_controlled.py
Lines: 85
{LGPL or GPL or MPL} Kamaelia
Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube.py
Lines: 32
{LGPL or GPL or MPL} Kamaelia
Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py
Lines: 143
{LGPL or GPL or MPL} Kamaelia
Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py
Lines: 459
{LGPL or GPL or MPL} Kamaelia
Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py
Lines: 458