al_map_rgba_f(3)

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

✨ 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