GLCLEARCOLOR(3G)

    .SH "NAME" glClearColor - specify clear values for the color buffers
    .SH "C SPECIFICATION"

            .HP u void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);

    .SH "PARAMETERS"

        .PP red, green, blue, alpha

                    Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.

            .RE

        .SH "DESCRIPTION"
            .PP 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.

        .SH "NOTES"
            .PP 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.

        .SH "ASSOCIATED GETS"
            .PP glGet() with argument GL_COLOR_CLEAR_VALUE

        .SH "VERSION SUPPORT"
            .TS allbox tab(:); lB cB s s s s s s s s s s s lB cB cB cB cB cB cB cB cB cB cB cB cB. T{ T}:T{ OpenGL Version T} T{ Function / Feature Name T}:T{ 2.0 T}:T{ 2.1 T}:T{ 3.0 T}:T{ 3.1 T}:T{ 3.2 T}:T{ 3.3 T}:T{ 4.0 T}:T{ 4.1 T}:T{ 4.2 T}:T{ 4.3 T}:T{ 4.4 T}:T{ 4.5 T} l c c c c c c c c c c c c. T{ glClearColor T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}

        .SH "SEE ALSO"
            .PP glClear(), removedTypes()

        .SH "COPYRIGHT"
            .PP Copyright © 1991-2006 Silicon Graphics, Inc. Copyright © 2010-2014 Khronos Group. This document is licensed under the SGI Free Software B License. For details, see https://khronos.org/registry/OpenGL-Refpages/LICENSES/LicenseRef-FreeB.txt.

COPYRIGHT
Copyright © 1991-2006 Silicon Graphics, Inc.
Copyright © 2010-2014 Khronos Group