Class

ClutterColorState

Description [src]

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.

Hierarchy

hierarchy this ClutterColorState ancestor_0 GObject ancestor_0--this

Ancestors

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_id
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:context

The associated ClutterContext.

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;
  void (* init_color_transform_key) (
    ClutterColorState* color_state,
    ClutterColorState* target_color_state,
    ClutterColorTransformKey* key
  );
  CoglSnippet* (* create_transform_snippet) (
    ClutterColorState* color_state,
    ClutterColorState* target_color_state
  );
  void (* update_uniforms) (
    ClutterColorState* color_state,
    ClutterColorState* target_color_state,
    CoglPipeline* pipeline
  );
  gboolean (* equals) (
    ClutterColorState* color_state,
    ClutterColorState* other_color_state
  );
  char* (* to_string) (
    ClutterColorState* color_state
  );
  ClutterEncodingRequiredFormat (* required_format) (
    ClutterColorState* color_state
  );
  ClutterColorState* (* get_blending) (
    ClutterColorState* color_state,
    gboolean force
  );
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.

init_color_transform_key: void (* init_color_transform_key) ( ClutterColorState* color_state, ClutterColorState* target_color_state, ClutterColorTransformKey* key )

No description available.

create_transform_snippet: CoglSnippet* (* create_transform_snippet) ( ClutterColorState* color_state, ClutterColorState* target_color_state )

No description available.

update_uniforms: void (* update_uniforms) ( ClutterColorState* color_state, ClutterColorState* target_color_state, CoglPipeline* pipeline )

No description available.

equals: gboolean (* equals) ( ClutterColorState* color_state, ClutterColorState* other_color_state )

No description available.

to_string: char* (* to_string) ( ClutterColorState* color_state )

No description available.

required_format: ClutterEncodingRequiredFormat (* required_format) ( ClutterColorState* color_state )

No description available.

get_blending: ClutterColorState* (* get_blending) ( ClutterColorState* color_state, gboolean force )

No description available.

Virtual methods

Clutter.ColorStateClass.equals
No description available.

Clutter.ColorStateClass.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.ColorStateClass.required_format
No description available.

Clutter.ColorStateClass.to_string
No description available.

Clutter.ColorStateClass.update_uniforms
No description available.