Asset
Common interface for asset wrappers. Provides access to an asset instance which might or might not be loaded.
See also
Inheritors
Properties
Functions
Link copied to clipboard
Forces eager loading of the asset. Note that due to AssetManager implementation, eager asset loading causes all scheduled assets to be loaded synchronously until the desired asset is reported as loaded. It is usually sensible to use a separate AssetManager for eagerly loaded assets or load such assets after all regular assets are already loaded.
Link copied to clipboard
Explicitly marks that the asset should be loaded. If this asset is managed by an AssetManager instance, will schedule asset loading.
Link copied to clipboard
Attempts to unload the asset. Might throw an exception if the asset is not loaded at all due to AssetManager implementation.