gl.ClearColor(red, green, blue, alpha)
gl.ClearColor()
specifies the red, green, blue, and alpha values used by gl.Clear()
to clear the color buffers. Values specified by gl.ClearColor()
are clamped to the range 0 through 1.
Please consult an OpenGL reference manual for more information.
#GL_INVALID_OPERATION
is generated if gl.ClearColor()
is executed between the execution of gl.Begin() and the corresponding execution of gl.End()
#GL_COLOR_CLEAR_VALUE