Method

CoglColorget_red

Declaration [src]

float
cogl_color_get_red (
  const CoglColor* color
)

Description [src]

Retrieves the red channel of color as a fixed point value between 0 and 1.0.

Return value

Type: float

The red channel of the passed color.