al_color_linear_to_rgb(3)
NAME
okay bestie, welcome to the al_color_linear_to_rgb(3) page β it's from the Library Functions Manual and it's serving pure Allegro 5 API energy ππ
al_color_linear_to_rgb β Allegro 5 API β¨
π SYNOPSIS π
#include <allegro5/allegro_color.h>
void al_color_linear_to_rgb(float r, float g, float b,
float *red, float *green, float *blue)
π¦ DESCRIPTION π¦
okay so this one converts linear sRGB color values to gamma corrected (i.e. normal) RGB values β it's giving color-space glow-up, no cap π«
you've got r, g, b in the mix, and the pointer besties *red, *green, *blue are right there in the signature too π«Ά
πΈ SINCE πΈ
5.2.8 β that's the version where this icon showed up, periodt π
β SEE ALSO β
al_color_linera(3)β yes bestie, that's literally how it's spelled on the page πal_color_rgb_to_linear(3)β another reference to peek at π
and that's the whole vibe! source/version: Allegro reference manual; date: the footer doesn't show one, so we're not inventing it, bestie ππ«Ά
π¦ 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