load

fun <Asset> SynchronousLoader<Asset>.load(assetManager: AssetManager, assetDescriptor: AssetDescriptor<Asset>): Asset

Allows to use SynchronousAssetLoader.load method with AssetDescriptor. assetManager provides asset dependencies for the loader. assetDescriptor contains asset data. Returns fully loaded Asset instance.