Function

CoglColornew

Declaration [src]

CoglColor*
cogl_color_new (
  void
)

Description [src]

Creates a new (empty) color.

Available since:1.0

Return value

Returns: CoglColor
 

A newly-allocated CoglColor. Use cogl_color_free() to free the allocated resources.

 The caller of the function takes ownership of the data, and is responsible for freeing it.