Next: Colors, Previous: ClutterChildMeta, Up: Top
Actor for cloning existing textures in an efficient way.
<clutter-clone-texture> allows the cloning of existing
<clutter-texture> based actors whilst saving underlying graphics
resources.
Derives from
<clutter-actor>.This class defines the following slots:
parent-texture- The parent texture to clone
repeat-y- Reapeat underlying pixbuf rather than scale in y direction.
repeat-x- Reapeat underlying pixbuf rather than scale in x direction.
<clutter-texture>) (ret <clutter-actor>)Creates an efficient 'clone' of a pre-existing texture with which it shares the underlying pixbuf data.
You can use
clutter-clone-texture-set-parent-textureto change the cloned texture.
- texture
- a
<clutter-texture>, or ‘#f’- ret
- the newly created
<clutter-clone-texture>