al_get_separate_bitmap_blender(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 operation
  • src β€” the color source
  • dst β€” the color destination
  • alpha_op β€” the alpha operation
  • alpha_src β€” the alpha source
  • alpha_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