Clutter.ColorState
Description: Reference for Clutter.ColorState

### Class

# ClutterColorState

#### Description [src]

    final class Clutter.ColorState : GObject.Object
    {
      /* No available fields */
    }

Color state of each ClutterActor

The `ClutterColorState` class contains the colorspace of each color states (e.g. sRGB colorspace).

Each `ClutterActor` would own such an object.

A single `ClutterColorState` object can be shared by multiple `ClutterActor` or maybe a separate color state for each `ClutterActor` (depending on whether `ClutterColorState` would be statefull or stateless).

`ClutterColorState`, if not set during construction, it will default to sRGB color state

The `ClutterColorState` would have API to get the colorspace, whether the actor content is in pq or not, and things like that.

#### Ancestors

- GObject

#### Constructors

###### clutter_color_state_new

Create a new ClutterColorState object.

###### clutter_color_state_new_full

Create a new ClutterColorState object with all possible parameters. Some arguments might not be valid to set with other arguments.

#### Instance methods

###### clutter_color_state_add_pipeline_transform

No description available.

###### clutter_color_state_equals

No description available.

###### clutter_color_state_get_blending

Retrieves a variant of `color_state` that is suitable for blending. This usually is a variant with linear transfer characteristics. If `color_state` already is a `ClutterColorState` suitable for blending, then `color_state` is returned.

###### clutter_color_state_get_colorspace

No description available.

###### clutter_color_state_get_id

No description available.

###### clutter_color_state_get_luminances

No description available.

###### clutter_color_state_get_transfer_function

No description available.

###### clutter_color_state_required_format

No description available.

###### clutter_color_state_to_string

No description available.

###### clutter_color_state_update_uniforms

No description available.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Clutter.ColorState:colorspace

Colorspace information of the each color state, defaults to sRGB colorspace.

###### Clutter.ColorState:context

The associated ClutterContext.

###### Clutter.ColorState:max-luminance

Maximum luminance.

###### Clutter.ColorState:min-luminance

Minimum luminance.

###### Clutter.ColorState:ref-luminance

Reference luminance.

###### Clutter.ColorState:transfer-function

Transfer function.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct ClutterColorStateClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.