al_set_bitmap_blender(3)

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

πŸŽ€ 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 πŸ¦‹


⭐ 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