Megaplot API users may wish to explicitly release all runtime memory and WebGL resources used by a Scene. To support this, the Scene should have a destroy() method which systematically releases all resources used by the Scene.
Once a Scene has been destroyed, any other API interaction with the Scene or its generated objects (such as Selections) should throw an error.
Megaplot API users may wish to explicitly release all runtime memory and WebGL resources used by a Scene. To support this, the Scene should have a
destroy()
method which systematically releases all resources used by the Scene.Once a Scene has been destroyed, any other API interaction with the Scene or its generated objects (such as Selections) should throw an error.