PrivateisPrivatecontextPrivatecontextPrivatedepsWhether the WebGL context is currently lost.
Register the two canvas listeners. Call once during scene-manager init; idempotency is the caller's responsibility (we don't double-bind here, but we do log once).
Remove the canvas listeners. Idempotent — calling on an already-disposed instance is a no-op. Called from SceneManager.dispose().
Owns the canvas-side
webglcontextlost/webglcontextrestoredlisteners and the per-listener cleanup.attach()registers, anddispose()unregisters. TheisContextLostflag is read viagetIsContextLost().