Class: ObjectRendererSystem

PIXI.ObjectRendererSystem

system that provides a render function that focussing on rendering Pixi Scene Graph objects to either the main view or to a renderTexture. Used for Canvas WebGL contexts

Implements

Members

lastObjectRendered PIXI.IRenderableObject readonly

the last object rendered by the renderer. Useful for other plugins like interaction managers

renderingToScreen boolean readonly

Flag if we are rendering to the screen vs renderTexture

Default Value:
  • true

Methods

render (displayObject, options) void

Renders the object to its WebGL view.

Name Type Attributes Description
displayObject PIXI.IRenderableObject

The object to be rendered.

options IRendererRenderOptions <optional>

the options to be passed to the renderer