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