al_color_rgb_to_linear(3)
β¨ 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 π
al_color_linear(3)β another one on the list, bestie π«Άal_color_linear_to_rgb(3)β also linked here, slay π
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