GLBLENDCOLOR(3G)
β¨ NAME β¨
glBlendColor from the 3G manual β set the blend color. That's it, bestie, that's the name section, and it's literally that simple. π
π C SPECIFICATION π
okay so the C signature is giving:
void glBlendColor( GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha )
π PARAMETERS π
red,green,blue,alphaβ these specify the components ofGL_BLEND_COLOR. π¨
π¦ DESCRIPTION π¦
The GL_BLEND_COLOR may be used to calculate the source and destination blending factors. The color components are clamped to the range [0, 1] before being stored β so they get squished into that range first, no cap. See glBlendFunc for a complete description of the blending operations. Initially the GL_BLEND_COLOR is set to (0, 0, 0, 0). β¨
πΈ NOTES πΈ
glBlendColor is part of the GL_ARB_imaging subset. It's present only if GL_ARB_imaging is returned when glGetString is called with GL_EXTENSIONS as its argument. So if that return doesn't happen, this function is not in the group chat, bestie. π«Ά
π ERRORS π
GL_INVALID_OPERATION is generated if glBlendColor is executed between the execution of glBegin and the corresponding execution of glEnd. That's the forbidden zone, periodt. π¨
π₯ ASSOCIATED GETS π₯
glGetwith an argument ofGL_BLEND_COLORβ that's the associated get, icon behavior. π
π SEE ALSO π
glBlendEquation(3G)glBlendFunc(3G)glGetString(3G)
okay bestie, that's the whole page β signing off from the GLBLENDCOLOR(3G) footer π
That's the source/version stamp on this page, and there's no date listed, so I'm not making one up. bye ππ«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: Mesa-libGL-devel 24.1.7-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms