StaticclearClears all assets and queued work, cancelling outstanding batches.
StaticgetGets the loaded image for this tag.
StaticgetGets the parsed JSON for this tag. The caller supplies its expected type.
StaticgetLists loaded images for the Playground asset panel and other image consumers.
StaticgetStaticloadLoads the entries queued when called and reports their percentage loaded. Overlapping calls share pending requests. Successful assets remain cached and failed entries can be retried by calling this method again.
OptionalonProgress: (percent: number) => voidStaticqueueQueues an image. Reusing an image tag keeps its existing source.
StaticqueueQueues a JSON file. Reusing a JSON tag keeps its existing source.
StaticqueueQueues a sound for decoding. Reusing a sound tag keeps its existing source.
Queues and loads images, JSON data and decoded sounds.