al_unmap_rgb_f(3)
NAME β¨ β al_unmap_rgb_f(3) Β· Library Functions Manual
al_unmap_rgb_f β your Allegro 5 API bestie for pulling the RGB components out of an ALLEGRO_COLOR while alpha literally just vibes off to the side. Periodt. π
SYNOPSIS π
#include <allegro5/allegro.h>
void al_unmap_rgb_f(ALLEGRO_COLOR color, float *r, float *g, float *b)
DESCRIPTION π
okay so al_unmap_rgb_f retrieves components of an ALLEGRO_COLOR(3), ignoring alpha. The components range from 0.0f-1.0f. Very normalized, very demure, very much giving useful little helper energy. β¨
This function can be called before Allegro is initialized. Yes bestie, before init β it's lowkey main character behavior, no setup required. π«Ά
SEE ALSO π
That's the tea, bestie π Source/version: Allegro reference manual. Page: al_unmap_rgb_f(3). Date: not listed on this page β no cap, we're not inventing one ππ
π¦ 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