NAME

glClearColor - specify clear values for the color buffers

C SPECIFICATION

void ggllCClleeaarrCCoolloorr( GLclampf _r_e_d,
                   GLclampf _g_r_e_e_n,
                   GLclampf _b_l_u_e,
                   GLclampf _a_l_p_h_a )

PARAMETERS

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

DESCRIPTION

ggllCClleeaarrCCoolloorr specifies the red, green, blue, and alpha values used by ggllCClleeaarr to clear the color buffers. Values specified by ggllCClleeaarrCCoolloorr are clamped to the range [0, 1].

ERRORS

GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if ggllCClleeaarrCCoolloorr is executed between the execution of ggllBBeeggiinn and the corresponding execution of ggllEEnndd.

ASSOCIATED GETS

ggllGGeett with argument GGLL__CCOOLLOORR__CCLLEEAARR__VVAALLUUEE

SEE ALSO

ggllCClleeaarr((33GG))