al_color_rgb_to_linear(3)

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

✨ al_color_rgb_to_linear(3) ✨

okay so this page is from the Library Functions Manual, and the main character is al_color_rgb_to_linear(3) β€” a whole Allegro 5 API moment. πŸ’–


πŸ’– NAME πŸ’–

al_color_rgb_to_linear β€” Allegro 5 API.

🌈 SYNOPSIS 🌈

#include <allegro5/allegro_color.h>

void al_color_rgb_to_linear(float red, float green, float blue,
   float *r, float *g, float *b)

πŸ¦‹ DESCRIPTION πŸ¦‹

bestie, this function is the color-space glow-up: it converts gamma corrected sRGB values (i.e. normal RGB) into linear sRGB space. that's the vibe. no cap. πŸ’…

⭐ SINCE ⭐

5.2.8 β€” iconic since then, periodt. ✨

πŸŽ€ SEE ALSO πŸŽ€


cute sign-off: footer check, bestie β€” source/version text is the Allegro reference manual, the page is al_color_rgb_to_linear(3), and there is literally no date printed, so we're not inventing one. fr fr. 🌸

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