AssetLoader
Asynchronous dependency loading with a bounded byte cache on the Haxe event thread.
Constructor
function new(source:AssetSource, catalog:AssetCatalog, ?maxCacheBytes:Int = 67108864, ?maxPending:Int = 16)Properties
var cachedBytes(get, null):IntMethods
function load(address:String):Future<Bytes>function openStream(address:String):Future<AssetStream<Bytes>>Loads byte dependencies, then opens a pull stream without caching its unbounded sequence.
function unload(address:String):Voidfunction clear():VoidClears the loader-owned cache; bytes already returned to callers remain valid.
function close():Void