T - The resulting type that this loader will loadpublic interface AsyncAssetLoader<T> extends AssetLoader<T>
AssetLoaders that can load (or partially load) asset data via non-main threads| Modifier and Type | Method and Description |
|---|---|
void |
loadOnAsyncThread(AssetDescriptor assetDescriptor,
AsyncLoadingCache asyncLoadingCache)
Loads an asset (or partial data) via a non-main thread
|
getDependencies, loadOnGameThreadvoid 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