API Version: 16
Library Version: 16
Generated by gi-docgen 2024.2
void cogl_color_init_from_4f ( CoglColor* color, float red, float green, float blue, float alpha )
Sets the values of the passed channels into a CoglColor.
CoglColor
red
Type: float
float
Value of the red channel, between 0 and 1.0.
green
Value of the green channel, between 0 and 1.0.
blue
Value of the blue channel, between 0 and 1.0.
alpha
Value of the alpha channel, between 0 and 1.0.