![]() |
![]() |
![]() |
Clutter 0.4 Reference Manual | ![]() |
---|---|---|---|---|
ClutterActor* clutter_clone_texture_new (ClutterTexture *texture); ClutterTexture* clutter_clone_texture_get_parent_texture (ClutterCloneTexture *clone); void clutter_clone_texture_set_parent_texture (ClutterCloneTexture *clone, ClutterTexture *texture);
ClutterCloneTexture allows the cloning of existing ClutterTexture based actors whilst saving underlying graphics resources.
ClutterActor* clutter_clone_texture_new (ClutterTexture *texture);
Creates an efficient 'clone' of a pre-existing texture if which it shares the underlying pixbuf data.
You can use clutter_clone_texture_set_parent_texture()
to change the
parent texture to be cloned.
texture : |
a ClutterTexture or NULL
|
Returns : | the newly created ClutterCloneTexture |
ClutterTexture* clutter_clone_texture_get_parent_texture (ClutterCloneTexture *clone);
Retrieves the parent ClutterTexture used by clone
.
clone : |
a ClutterCloneTexture |
Returns : | a ClutterTexture actor, or NULL
|
Since 0.2