API Reference / @gtkx/gl / blendColor
Function: blendColor()
blendColor(
red,green,blue,alpha):void
Defined in: generated/commands.d.ts:377
void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
Provided by GL_VERSION_1_4. Registry note: Promoted from ARB_imaging subset to core Also provided by the GL_ARB_imaging extension. GL_ARB_imaging note: Now treating ARB_imaging as an extension, not a GL API version. Also known as glBlendColorEXT. GLX render opcode 4096.
Parameters
red
number
GLfloat, kind Clamped[0; 1], kind Color. This parameter will get clamped to the 0 to 1 range. This parameter represents part of or a complete color.
green
number
GLfloat, kind Clamped[0; 1], kind Color. This parameter will get clamped to the 0 to 1 range. This parameter represents part of or a complete color.
blue
number
GLfloat, kind Clamped[0; 1], kind Color. This parameter will get clamped to the 0 to 1 range. This parameter represents part of or a complete color.
alpha
number
GLfloat, kind Clamped[0; 1], kind Color. This parameter will get clamped to the 0 to 1 range. This parameter represents part of or a complete color.
Returns
void