GLBLENDCOLOR(3G)

πŸ“¦ version 24.3.3, in opensuse-leap 16.0

✨ 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 of GL_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 πŸ”₯

  • glGet with an argument of GL_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