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
glClearColor
specifies the red, green, blue, and alpha values used by glClear to clear the color buffers. Values specified byglClearColor
are clamped to the range [0,1].