Name
gl.ClearAccum -- specify clear values for the accumulation buffer
Synopsis
gl.ClearAccum(red, green, blue, alpha)
Function
gl.ClearAccum() specifies the red, green, blue, and alpha values used by gl.Clear() to clear the accumulation buffer.

Values specified by gl.ClearAccum() are clamped to the range -1 through 1.

Please consult an OpenGL reference manual for more information.

Inputs
red
specify the red value used when the accumulation buffer is cleared; the initial value is 0
green
specify the green value used when the accumulation buffer is cleared; the initial value is 0
blue
specify the blue value used when the accumulation buffer is cleared; the initial value is 0
alpha
specify the alpha value used when the accumulation buffer is cleared; the initial value is 0
Errors
#GL_INVALID_OPERATION is generated if gl.ClearAccum() is executed between the execution of gl.Begin() and the corresponding execution of gl.End()

Associated gets
gl.Get() with argument #GL_ACCUM_CLEAR_VALUE


Show TOC