Next: , Previous: ClutterChildMeta, Up: Top


14 ClutterCloneTexture

Actor for cloning existing textures in an efficient way.

14.1 Overview

<clutter-clone-texture> allows the cloning of existing <clutter-texture> based actors whilst saving underlying graphics resources.

14.2 Usage

— Class: <clutter-clone-texture>

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.
— Function: clutter-clone-texture-new (texture <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-texture to change the cloned texture.

texture
a <clutter-texture>, or ‘#f
ret
the newly created <clutter-clone-texture>