get_texture


Description:

public unowned Texture get_texture (string uri)

Create a new ClutterTexture with the specified image.

Adds the image to the cache if the image had not been previously loaded. Subsequent calls with the same image URI/path will return a new ClutterTexture with the previously loaded image.

Parameters:

this

A TextureCache

uri

A URI or path to a image file

Returns:

a newly created ClutterTexture




2022 vala-language.org