API Version: 10
Library Version: 10
void cogl_color_init_from_4ub ( CoglColor* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha )
Sets the values of the passed channels into a CoglColor.
CoglColor
red
uint8_t
Value of the red channel, between 0 and 255
green
Value of the green channel, between 0 and 255
blue
Value of the blue channel, between 0 and 255
alpha
Value of the alpha channel, between 0 and 255