NAME

glBlendColor - set the blend color

C SPECIFICATION

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

delim $$

PARAMETERS

_r_e_d, _g_r_e_e_n, _b_l_u_e, _a_l_p_h_a
specify the components of GGLL__BBLLEENNDD__CCOOLLOORR

DESCRIPTION

The GGLL__BBLLEENNDD__CCOOLLOORR may be used to calculate the source and destination blending factors. The color components are clamped to the range [0, 1] before being stored. See ggllBBlleennddFFuunncc for a complete description of the blending operations. Initially the GGLL__BBLLEENNDD__CCOOLLOORR is set to (0, 0, 0, 0).

NOTES

ggllBBlleennddCCoolloorr is part of the GGLL__AARRBB__iimmaaggiinngg subset. ggllBBlleennddCCoolloorr is present only if GGLL__AARRBB__iimmaaggiinngg is returned when ggllGGeettSSttrriinngg is called with GGLL__EEXXTTEENNSSIIOONNSS as its argument.

ERRORS

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

ASSOCIATED GETS

ggllGGeett with an argument of GGLL__BBLLEENNDD__CCOOLLOORR

SEE ALSO

ggllBBlleennddEEqquuaattiioonn((33GG)), ggllBBlleennddFFuunncc((33GG)), ggllGGeettSSttrriinngg((33GG))