Available on all platforms
staticfromBundle(bundle:AssetBundle):AssetLibrary
@:value({ rootPath : null })staticfromBytes(bytes:Bytes, ?rootPath:String):AssetLibrary
@:value({ rootPath : null })staticfromFile(path:String, ?rootPath:String):AssetLibrary
staticfromManifest(manifest:AssetManifest):AssetLibrary
@:value({ rootPath : null })staticloadFromBytes(bytes:Bytes, ?rootPath:String):Future<AssetLibrary>
@:value({ rootPath : null })staticloadFromFile(path:String, ?rootPath:String):Future<AssetLibrary>
staticloadFromManifest(manifest:AssetManifest):Future<AssetLibrary>
new()
@:value(new Event<Void>())onChange:_Event_Void_Void<() ‑> Void> = new Event<Void>()
exists(id:String, type:String):Bool
getAsset(id:String, type:String):Dynamic
getAudioBuffer(id:String):AudioBuffer
getBytes(id:String):Bytes
getFont(id:String):Font
getImage(id:String):Image
getPath(id:String):String
getText(id:String):String
isLocal(id:String, type:String):Bool
list(type:String):Array<String>
load():Future<AssetLibrary>
loadAsset(id:String, type:String):Future<Dynamic>
loadAudioBuffer(id:String):Future<AudioBuffer>
loadBytes(id:String):Future<Bytes>
loadFont(id:String):Future<Font>
loadImage(id:String):Future<Image>
loadText(id:String):Future<String>
unload():Void