Class: BatchSystem

System plugin to the renderer to manage batching.

new (renderer)

Name Type Description
renderer PIXI.Renderer

The renderer this System works for.



currentRenderer PIXI.ObjectRenderer

The currently active ObjectRenderer.

emptyRenderer PIXI.ObjectRenderer

An empty renderer.

The renderer this manager works for.


destroy () inherited

Generic destroy methods to be overridden by the subclass

This should be called if you wish to do some custom rendering It will basically render anything that may be batched up such as sprites

Reset the system to an empty renderer

setObjectRenderer (objectRenderer)

Changes the current renderer to the one given in parameter

Name Type Description
objectRenderer PIXI.ObjectRenderer

The object renderer to use.