route-graphics 1.25.0 → 1.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -87,11 +87,16 @@ await app.unloadAssets(["circle-red", "bgm-1"]);
87
87
 
88
88
  `unloadAssets()` removes renderer cache entries and releases texture, video,
89
89
  audio, and font resources owned by that Route Graphics instance. Unknown or
90
- already-unloaded keys are ignored, and released keys can be loaded again.
90
+ already-unloaded keys are ignored, shared resources remain alive until their
91
+ last Route Graphics consumer unloads them, and released keys can be loaded
92
+ again.
91
93
 
92
94
  The event handler also receives `rendererContextLost` and
93
95
  `rendererContextRestored` lifecycle events. Fallback UI should live outside the
94
96
  renderer so it remains available while the graphics context is unavailable.
97
+ WebGPU device loss emits `rendererContextLost`; because a lost WebGPU device is
98
+ not restorable, consumers must recreate the Route Graphics instance rather than
99
+ wait for `rendererContextRestored`.
95
100
 
96
101
  For complete usage details, go to:
97
102