geta32(3alleg4)
π NAME π
geta32 β bestie, this one pulls the alpha component out of a color that's chillin' in a 32-bit pixel format. It's giving Allegro game programming library, and it's lowkey iconic β¨
π SYNOPSIS π
#include <allegro.h>
int geta32(int c);
π¦ DESCRIPTION π¦
okay so picture this: you hand over a color c that's living its best life in a 32-bit pixel format, and this function is like "say less" and hands you back just the alpha component π
That alpha value comes out ranging 0-255, no cap. That's the whole vibe. That's the whole function. She's simple, she's efficient, she ate π
πΈ SEE ALSO πΈ
getr8(3alleg4) β the sister function, go say hi π
no fr, that's genuinely all she does and honestly? respect π«Ά
Allegro, version 4.4.3 β that's the source and the version, mwah π this lil page is filed under the Allegro manual as geta32(3alleg4), so if you ever need to find her again, iykyk π§ββοΈβ
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms