AL_CONVERT_MASK_TO_ALPHA(3)
π 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 π
ALLEGRO_COLOR(3)β go read that one next, bestie π«Ά
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