-
Notifications
You must be signed in to change notification settings - Fork 26
Data access
Alessandro Febretti edited this page Feb 7, 2014
·
5 revisions
These functions are used control the loading of assets.
Searches for a file, returning the full path if found, or an empty string if the search fails. See the filesystem management page for more information on file lookup in omegalib.
Sets a path prefix for data loading operations. Currently used only for image loading commands.
Gets the path prefix used for data loading operations. Currently used only for image loading commands.
Loads an image given a file path. If loading is succesfull, returns an instance of PixelData
. If loading fails, return None
Gets or sets the number of threads used for asynchronous image loading. Async image loading is currently available only for native code modules.