logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_color_rgb_to_linear - Allegro 5 API

Description

       Convert gamma corrected sRGB values (i.e. normal RGB) to linear sRGB space.

Name

       al_color_rgb_to_linear - Allegro 5 API

See Also

al_color_linear(3alleg5), al_color_linear_to_rgb(3alleg5)

Allegro reference manual                                                         al_color_rgb_to_linear(3alleg5)

Since

       5.2.8

Synopsis

              #include <allegro5/allegro_color.h>

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

See Also