SharedImage.find

SharedImage find(string filename)

Finds a shared image in the cache without loading.

This method only checks the cache and does not load from disk. Useful for checking if an image has already been loaded.

Parameters

filenamePath to the image file

Returns

SharedImage object if found in cache, or null if not cached