Identifier
Uniquely identifies a single asset stored in an AssetStorage by its type and path.
Multiple assets with the same path can be stored in an AssetStorage as long as they have a different type. Similarly, AssetStorage can store multiple assets of the same type, as long as each has a different path.
Avoid using Identifier constructor directly. Instead, rely on AssetStorage.getIdentifier or AssetDescriptor.toIdentifier.
Properties
Functions
Link copied to clipboard
fun toAssetDescriptor(parameters: AssetLoaderParameters<T>? = null, fileHandle: FileHandle? = null): AssetDescriptor<T>
Converts this Identifier to an AssetDescriptor that describes the asset and its loading data.