AL_CONVERT_MASK_TO_ALPHA(3)

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

πŸ’– NAME πŸ’–

okay so bestie, this is the al_convert_mask_to_alpha(3) page from the Library Functions Manual, and it’s literally the Allegro 5 API entry: al_convert_mask_to_alpha - Allegro 5 API. No cap, that’s the whole name situation. πŸŽ€

🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

void al_convert_mask_to_alpha(ALLEGRO_BITMAP *bitmap, ALLEGRO_COLOR mask_color)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what it does: it converts the given mask color to an alpha channel in the bitmap. That’s the main-character move. ✨ It can be used to convert older 4.2-style bitmaps with magic pink to alpha-ready bitmaps β€” it’s giving β€œglow-up for old sprites,” honestly. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


Source/version: Allegro reference manual, page al_convert_mask_to_alpha(3) β€” and date? There’s no date printed on this page, so I’m not making one up, ngl. Bye bestie πŸ’–πŸŽ€

πŸ“¦ 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