al_set_bitmap_blender(3)
π al_set_bitmap_blender(3) π
okay so this is the Allegro 5 API page from the Library Functions Manual, bestie β and yes, we're getting into blender business, but the bitmap kind, not the smoothie kind π β¨
β¨ NAME β¨
al_set_bitmap_blender β Allegro 5 API π¦
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
void al_set_bitmap_blender(int op, int src, int dest)
π DESCRIPTION π
So this one sets the function to use for blending when rendering to the target bitmap. That's the whole main-character job, periodt.
And here's the fallback lore: if no blender is set for a given bitmap at draw time, the values set for al_set_blender(3)/al_set_separate_blender(3) are used instead. iykyk β¨
If you wanna use separate functions for chroma (RGB) and alpha channels, use al_set_separate_bitmap_blender(3) β that's the one for that specific vibe π
Also, see al_set_blender(3) for more information about how blending works. Go read the blender lore, bestie. π«Ά
π¦ SEE ALSO π¦
al_set_separate_bitmap_blender(3)β separate blender for chroma and alpha, slay πal_reset_bitmap_blender(3)β the reset button for your bitmap blender situation π
β SINCE β
5.2.5 β yes, that's the version, no cap π
π [Unstable API]: New API. β unstable API alert, bestie! It's new, it's shiny, and it's got that unstable label on it. Handle with the appropriate dramatic energy ππ₯
and that's the page, babes π this little sign-off is brought to you by the Allegro reference manual and al_set_bitmap_blender(3) β no date on this footer, so that's the whole vibe, mwah ππ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms