al_set_separate_blender(3alleg5)
β¨ al_set_separate_blender β¨
okay bestie, welcome to the Allegro 5 API corner of the 3alleg5 manual π this one's short and sweet, so let's get into it π«Ά
πΈ NAME πΈ
al_set_separate_blender β Allegro 5 API π
π SYNOPSIS π
#include <allegro5/allegro.h>
void al_set_separate_blender(int op, int src, int dst,
int alpha_op, int alpha_src, int alpha_dst)
like, look at those six whole ints just vibing in there π
π¦ DESCRIPTION π¦
so this is literally al_set_blender(3alleg5) but make it fancier β¨ It does the exact same thing, except it also lets you set a separate blending operation for the alpha channel β its own alpha_op, its own alpha_src, its own alpha_dst, the whole little trio π
why would you even want that, you ask? π₯Ί bestie, it's for when your target bitmap has an alpha channel too, and those two alpha channels need to be combined in a different way than the color components are. that's it, that's the whole reason, and honestly? iconic π
not me giving alpha its own whole blender setup while the colors just stand there π it's what she deserves though
π SEE ALSO π
al_set_blender(3alleg5)β the regular one, no alpha drama πal_get_blender(3alleg5)β peep the current blender πal_get_separate_blender(3alleg5)β peep the current separate blender, the matching set to this one π¦
and that's the vibe check, bestie πΈ this was the Allegro reference manual talking about al_set_separate_blender(3alleg5) β go forth and blend separately, you absolute main character π
β¨π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms