Class: ObjectRenderer


Base for a common object renderer that can be used as a system renderer plugin.

new PIXI.ObjectRenderer ()



The renderer this manager works for.


contextChange (gl) inherited

Generic method called when there is a WebGL context change.

Name Type Description
gl WebGLRenderingContext

new webgl context

destroy () inherited

Generic destroy methods to be overridden by the subclass

Stub method for rendering content and emptying the current batch.

render (object)

Renders an object

Name Type Description
object PIXI.DisplayObject

The object to render.

Starts the renderer and sets the shader

Stops the renderer