destroy(removeView)
Removes everything from the renderer and optionally removes the Canvas DOM element.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
removeView | Boolean | <optional> | true | Removes the Canvas element from the DOM. |
- Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 194)
Please login to continue.