al_unmap_rgba_f(3alleg5)

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

✨ 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