TextureCache
Object Hierarchy:
Description:
[ CCode ( type_id = "mx_texture_cache_get_type ()" ) ]
public class TextureCache : Object
The contents of this structure are private and should only be accessed through the public API.
Content:
Static methods:
Creation methods:
Methods:
- public bool contains (string uri)
Checks whether the given URI/path is contained within the texture
cache.
- public bool contains_meta (string uri, void* ident)
Checks whether there are any textures associated with the given URI by
the given identifier.
- public virtual void error_loading (Error error)
- public unowned Actor get_actor (string uri)
This is a wrapper around
get_texture which returns a ClutterActor.
- public unowned Handle get_cogl_texture (string uri)
Create a VertexBufferIndices representing a
texture of the specified image.
- public Handle get_meta_cogl_texture (string uri, void* ident)
Retrieves the VertexBufferIndices of the
previously added image associated with the given unique identifier.
- public Texture get_meta_texture (string uri, void* ident)
Create a new ClutterTexture using the previously added image
associated with the given unique identifier.
- public int get_size ()
Returns the number of items in the texture cache
- public unowned Texture get_texture (string uri)
Create a new ClutterTexture with the specified image.
- public void insert (string uri, Handle texture)
Inserts a texture into the texture cache.
- public void insert_meta (string uri, void* ident, Handle texture, DestroyNotify destroy_func)
Inserts a texture that's associated with a URI into the cache.
- public void load_cache (string filename)
- public virtual void loaded (string uri, Texture texture)
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref