Class: TilingSpriteRenderer


WebGL renderer plugin for tiling sprites

new PIXI.TilingSpriteRenderer (renderer)

constructor for renderer

Name Type Description
renderer PIXI.Renderer

The renderer this tiling awesomeness works for.



The renderer this manager works for.

state PIXI.State readonly

The WebGL state in which this renderer will work.


Generic destruction method that frees all resources. This should be called by subclasses.

Stub method that should be used to empty the current batch by rendering objects now.

Name Type Description
ts PIXI.TilingSprite

tilingSprite to be rendered

Stub method that initializes any state required before rendering starts. It is different from the prerender signal, which occurs every frame, in that it is called whenever an object requests this renderer specifically.

Stops the renderer. It should free up any state and become dormant.