al_set_sep...ap_blender(3)
π NAME π
al_set_separate_bitmap_blender β literally the Allegro 5 API, bestie, and today we're learning about the separate bitmap blender β¨
π SYNOPSIS π
#include <allegro5/allegro.h>
void al_set_separate_bitmap_blender(int op, int src, int dst, int alpha_op, int alpha_src, int alpha_dst)
πΈ DESCRIPTION πΈ
okay so picture al_set_bitmap_blender(3)β¦ but make it extra π
. This is that, except it lets you pick a separate blending operation for the alpha channel β yes, a whole different blend just for alpha, main character energy fr fr.
The way that this is useful: if your target bitmap also has an alpha channel, and those two alpha channels need to be combined in a different way than the color components do β yeah, that's the whole vibe. Colour components doing one thing, alpha doing another. Two blenders, one bitmap, iconic π¦.
ngl, the page slaps an [Unstable API]: New API. on this one β so, like, it's new new. Worth knowing before you build your whole personality around it π
β SINCE β
5.2.5 β a gift to us all π
π₯ SEE ALSO π₯
al_set_bitmap_blender(3)β the original, the blueprint, the mother π«Άal_reset_bitmap_blender(3)β for when you need to undo the whole situation π
and that's the page, bestie β no cap, you got this π this lil transmission came to you courtesy of the Allegro reference manual, page al_set_sep...ap_blender(3) π bye 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