API Version: 11
Library Version: 11
Generated by gi-docgen 2022.2
since: 1.4
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
Available since: 1.4
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