al_get_separate_bitmap_blender(3alleg5)
π al_get_separate_bitmap_blender β Allegro 5 API π
ok so bestie, you're in the 3alleg5 manual, and today's main character is al_get_separate_bitmap_blender. it's giving "let me peek at your blender settings" and honestly? iconic. π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
void al_get_separate_bitmap_blender(int *op, int *src, int *dst, int *alpha_op, int *alpha_src, int *alpha_dst)
πΈ DESCRIPTION πΈ
okay so picture this: the target bitmap has a blender, right? and it's currently living its life, blending away. this function is basically the vibe check β it hands you back the current blender that the target bitmap is using. π«Ά
six pointers, six little output slots, and the vibes are:
opβ the color operationsrcβ the color sourcedstβ the color destinationalpha_opβ the alpha operationalpha_srcβ the alpha sourcealpha_dstβ the alpha destination
and here's the part that lowkey saves your life: you can pass NULL for any values you are not interested in. don't care about alpha? NULL it. only here for op? NULL, NULL, NULL, NULL, NULL, and slay. π
the function will not be weird about it.
β SINCE β
5.2.5
[Unstable API]: New API. π yes girl, it's marked unstable β act accordingly, no cap.
π¦ SEE ALSO π¦
and that's the whole page, bestie π this was the Allegro reference manual serving you al_get_separate_bitmap_blender(3alleg5) β go forth, check those blenders, and remember: NULL is not a red flag here, it's a personality trait. β¨π
π¦ 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