al_map_rgba_f(3)
β¨ NAME β¨
okay so this is the Library Functions Manual page for al_map_rgba_f(3), and the official tea is: al_map_rgba_f β Allegro 5 API. π
π SYNOPSIS π
#include <allegro5/allegro.h>
ALLEGRO_COLOR al_map_rgba_f(float r, float g, float b, float a)
π DESCRIPTION π
It converts r, g, b, a (ranging from 0.0f-1.0f) into an ALLEGRO_COLOR(3). Literally turning those little float besties into a whole color moment. π
π«Ά no cap: this function can be called before Allegro is initialized.
π¦ SEE ALSO π¦
xoxo, your Allegro reference manual bestie π
β page al_map_rgba_f(3), source/version Allegro reference manual, and the original footer didnβt include a date, so no fake timestamp, periodt. π
π¦ 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