Method

CoglColorget_red_byte

Declaration [src]

unsigned char
cogl_color_get_red_byte (
  const CoglColor* color
)

Description [src]

Retrieves the red channel of color as a byte value between 0 and 255

Available since:1.0

Return value

Returns: unsigned char
 

The red channel of the passed color.