loadSync

fun <Asset> AsynchronousLoader<Asset>.loadSync(assetManager: AssetManager, assetDescriptor: AssetDescriptor<Asset>): Asset

Allows to use AsynchronousAssetLoader.loadSync method with AssetDescriptor. Note that loadAsync must have been called first with the same asset data. assetManager provides asset dependencies for the loader. assetDescriptor contains asset data. Returns fully loaded Asset instance.