glClearColor

glClearColor: man4/glClearColor.xml

glClearColor specifies the red, green, blue, and alpha values used by glClear to clear the color buffers. Values specified by glClearColor are clamped to the range 0 1.

The type of the red, green, blue, and alpha parameters was changed from GLclampf to GLfloat. This change is transparent to user code and is described in detail on the removedTypes page.

@OpenGL_Version(OGLIntroducedIn.V1P0)
fn_glClearColor glClearColor;

See Also

glClear, removedTypes

Meta