specify clear values for the accumulation buffer
Deprecation Notice
Note that this function has been marked deprecated in the OpenGL 3.0 specification.
You should not be using this function in new code, though it will likely be supported
by most implementations via the GL_ARB_compatibility extension.
For more information on OpenGL 3.x deprecations, see the
deprecations page.
Signature
Parameters
| Variables | Description |
|---|---|
| red, green, blue, alpha |
Specify the red, green, blue, and alpha values used when the
accumulation buffer is cleared.
The initial values are all 0.
|
Description
glClearAccum
specifies the red, green, blue, and alpha values used by
glClear
to clear the accumulation buffer.
Values specified by
glClearAccum
are clamped to the
range
.
Errors
GL_INVALID_OPERATION
is generated if
glClearAccum
is executed between the execution of
glBegin
and the corresponding execution of
glEnd
.
Associated Gets
glGet
with argument
GL_ACCUM_CLEAR_VALUE
Copyright
Copyright
1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/
.