al_unmap_rgba_f(3alleg5)
β¨ NAME β¨
al_unmap_rgba_f β Allegro 5 API π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
void al_unmap_rgba_f(ALLEGRO_COLOR color,
float *r, float *g, float *b, float *a)
π¦ DESCRIPTION π¦
Okay bestie, so you've got yourself an ALLEGRO_COLOR(3alleg5) and you wanna peek inside it β this function literally retrieves the components of it for you. π
The components you get back range from 0.0f-1.0f. That's the whole range, no notes. π
And here's the cute part: this function can be called before Allegro is initialized. No setup required, she's ready whenever you are. β¨
fr fr, you can call this one before al_init β she does not care. π«Ά
π SEE ALSO π
And that's the whole vibe, babe π β this was the Allegro reference manual, al_unmap_rgba_f(3alleg5), and no cap, she ate. Mwah. ππ
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms