PAIR-code/megaplot

Implement destroy method for Scene

Opened this issue · 0 comments

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.