Specifies the red value used when the color buffers are cleared. The initial value is 0.
Specifies the green value used when the color buffers are cleared. The initial value is 0.
Specifies the blue value used when the color buffers are cleared. The initial value is 0.
Specifies the alpha value used when the color buffers are cleared. The initial value is 0.
Generated using TypeDoc
glClearColorspecifies the red, green, blue, and alpha values used by glClear to clear the color buffers. Values specified byglClearColorare clamped to the range [0,1].