@modoki/engine / index / releaseAllForScene
Function: releaseAllForScene()
releaseAllForScene(
sceneId):void
Release every resource held by a given scene. Called by SceneManager when a scene is unloaded; resources held by other scenes survive.
The owner-map keys are canonical (path-form) cache keys, so we go through the ByPath helpers — routing them through the public release functions would re-resolve them via refToPath and emit the legacy-path deprecation warning on every scene swap.
Parameters
sceneId
number
Returns
void