al_set_sep...ap_blender(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’… 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 πŸ”₯


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