Private loadersPrivate Readonly maxPrivate pendingPrivate pendingPrivate requirePrivate rootPrivate checkPrivate checkPrivate heartbeatPrivate internPrivate internA TypeSprite resUrl looks like this:
texture:assets/spirtes1.png` => loaderId: "texture", path: "assets/sprites1.png"
image:assets/spirtes1.png` => loaderId: "image", path: "assets/sprites1.png"
Requires all resources. If they are not yet loaded they'll be put into the loading queue.
The callback return is called in sync if all resources are were loaded (or failed).
The ownerId is the world, resource, etc. that holds the resource.
Private scheduleGenerated using TypeDoc
This is mostly an internal class. TypeSprite normaly takes care of all calles you find here.
ResourceManager takes care of all resources. It's tightly coupled with World and WorldManager class and ensures that assets are loaded and available if needed.
It's possible to have multiple resource of the same file.
See