DelayedAsset
Represents an Asset wrapper of resource loaded at demand. The first asset getter call causes the asset to be scheduled for loading and loaded eagerly - the AssetManager is updated until the asset is reported as loaded. Note that eager asset loading might cause other assets to be loaded synchronously rather than asynchronously, so it is advised to load eager assets with another AssetManager instance or use them after all regular assets are already loaded.
Properties
The AssetDescriptor used by AssetManager to identify and load the asset.
Functions
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.
Explicitly marks that the asset should be loaded. If this asset is managed by an AssetManager instance, will schedule asset loading.
Attempts to unload the asset. Might throw an exception if the asset is not loaded at all due to AssetManager implementation.