Sets the blend color. This subroutine is part of OpenGL 1.2 ARB Imaging subset extension.
OpenGL C bindings library: libGL.a
void glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
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. Initially the GL_BLEND_COLOR_EXT is set to (0, 0, 0, 0).
red, green, blue, alpha | Specify the components of GL_BLEND_COLOR_EXT. |
The glBlendColorEXT subroutine is available only if the GL version is 1.1 or greater.
GL_INVALID_OPERATION | The glBlendColorEXT is called between a call to glBegin and the corresponding call to glEnd. |
glGet with argument GL_BLEND_COLOR_EXT.
The glBlendFunc subroutine, glGetString subroutine.