Method

CoglColorinit_from_4f

Declaration [src]

void
cogl_color_init_from_4f (
  CoglColor* color,
  float red,
  float green,
  float blue,
  float alpha
)

Description [src]

Sets the values of the passed channels into a CoglColor.

Available since:1.4

Parameters

red float
 

Value of the red channel, between 0 and 1.0

green float
 

Value of the green channel, between 0 and 1.0

blue float
 

Value of the blue channel, between 0 and 1.0

alpha float
 

Value of the alpha channel, between 0 and 1.0