WebGL renderer if available, otherwise CanvasRenderer.
The root display container that's rendered.
Collection of installed plugins.
Reference to the renderer's screen rectangle. Its safe to use as filterArea
or hitArea
for the whole screen.
Reference to the renderer's canvas element.
Destroy and don't use after this.
Render the current stage.
Register a middleware plugin for the application
Plugin being installed
Generated using TypeDoc
Convenience class to create a new PIXI application.
This class automatically creates the renderer, ticker and root container.
// Create the application const app = new PIXI.Application();
// Add the view to the DOM document.body.appendChild(app.view);
// ex, add display objects app.stage.addChild(PIXI.Sprite.from('something.png'));
PIXI