al_unmap_rgba_f(3)

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

πŸŽ€ NAME πŸŽ€

al_unmap_rgba_f β€” Allegro 5 API πŸ’–

Okay bestie, this page is from the Library Functions Manual β€” the Allegro 5 API reference manual, to be exact ✨ The function is literally called al_unmap_rgba_f, and the header up top is al_unmap_rgba_f(3) πŸ¦‹

✨ SYNOPSIS ✨

Okay so here's the exact include-and-signature situation, no cap:

#include <allegro5/allegro.h>

void al_unmap_rgba_f(ALLEGRO_COLOR color,
   float *r, float *g, float *b, float *a)

πŸ’… DESCRIPTION πŸ’…

This one retrieves the components of an ALLEGRO_COLOR(3) 😌 The components will range from 0.0f-1.0f, periodt.

And highkey the chill part: this function can be called before Allegro is initialized 🫢 So yeah, it's giving β€œworks before setup,” iykyk.

🌈 SEE ALSO 🌈

Go check these out too, bestie:


Cute sign-off time πŸŽ€ This came from the Allegro reference manual; no version or date is shown on the page, just the footer tag al_unmap_rgba_f(3). Bye bestie, slay your color components πŸ’–βœ¨

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