T
- The resulting type that this loader will loadpublic interface AsyncAssetLoader<T> extends AssetLoader<T>
AssetLoader
s that can load (or partially load) asset data via non-main threadsModifier and Type | Method and Description |
---|---|
void |
loadOnAsyncThread(AssetDescriptor assetDescriptor,
AsyncLoadingCache asyncLoadingCache)
Loads an asset (or partial data) via a non-main thread
|
getDependencies, loadOnGameThread
void loadOnAsyncThread(AssetDescriptor assetDescriptor, AsyncLoadingCache asyncLoadingCache)
assetDescriptor
- A descriptor of the asset to be loadedasyncLoadingCache
- Stores data in this cache to pass to the game thread loading