insert_meta


Description:

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.

If the metadata already exists for this URI, it will be replaced.

This is useful if you have a widely used modification of an image, for example, an image with a border composited around it.

Parameters:

this

A TextureCache

uri

A URI or local file path

ident

A unique identifier

texture

A VertexBufferIndices to a texture

destroy_func

An optional destruction function for ident




2022 vala-language.org