GLBLENDCOLOREXT() MachTen Programmer’s Manual GLBLENDCOLOREXT()

NAME
glBlendColorEXT - set the blend color

C SPECIFICATION
void glBlendColorEXT( GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha )

delim $$

PARAMETERS
red, green, blue, alpha specify the
components of GL_BLEND_COLOR_EXT

DESCRIPTION
The GL_BLEND_COLOR_EXT may be used to calculate the source
and destination blending factors. See glBlendFunc for a
complete description of the blending operations. Ini-
tially the GL_BLEND_COLOR_EXT is set to (0,0,0,0).

NOTES
glBlendColorEXT is part of the EXT_blend_color extension,
not part of the core GL command set. If
GL_EXT_blend_color is included in the string returned by
glGetString, when called with argument GL_EXTENSIONS,
extension EXT_blend_color is supported by the connection.

ERRORS
GL_INVALID_OPERATION is generated if glBlendColorEXT is
executed between the execution of glBegin and the corre-
sponding execution of glEnd.

ASSOCIATED GETS
glGet with an argument of GL_BLEND_COLOR_EXT.

SEE ALSO
glBlendFunc, glGetString.

MachTen 1