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.
this | |
uri |
A URI or local file path |
ident |
A unique identifier |
texture |
A VertexBufferIndices to a texture |
destroy_func |
An optional destruction function for |