loads one bundle now, then evicts older ready bundles if its budget requires it
OptionalonProgress: AssetProgressPreloads bundles in highest-priority-first order; callers may intentionally not await it.
onProgress, when given, reports overall fraction across every bundle in bundles (each
one weighted equally), for a caller that wants one progress figure across the whole list
rather than per-bundle callbacks of its own.
OptionalonProgress: AssetProgressexplicitly unloads one bundle, even when the configured budget has room
marks a ready bundle as recently used at the moment a scene adopts it
Game-directed background asset staging with bounded, least-recently-used eviction.
It deliberately does not guess a player's next map: the game supplies bundles it considers likely. This works with compiled data URIs as a decode/GPU warm-up and with server or desktop hosts as ordinary asynchronous streaming.
Example