glBlendColorEXT
NAME
glBlendColorEXT - set the blend color
C SPECIFICATION
void glBlendColorEXT(GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha)
PARAMETERS
red
| Specifies the red component for constant blending.
|
green
| Specifies the green component for constant blending.
|
blue
| Specifies the blue component for constant blending.
|
alpha
| Specifies the alpha component for constant blending.
|
DESCRIPTION
glBlendColorEXT sets the constant color for the source and destination blend factors. (See
glBlendFunc.) The four color components are clamped to
range [0,1] before being stored. The initial value for the constant blend
color is (0,0,0,0).
EXTENSIONS
The following functions and/or constants are part of an extension, not part of the
core GL command set. The extension name must be present in the string returned by
glGetString when called with argument GL_EXTENSIONS.
- GL_EXT_blend_color
-
glBlendColorEXT
is part of the EXT_blend_color extension.
ERRORS
GL_INVALID_OPERATION is generated if glBlendColorEXT is executed between the execution of
glEnd.
ASSOCIATED GETS
glGet with an argument of GL_BLEND_COLOR_EXT
SEE ALSO
glBlendFunc,
glGetString