PIXI.TilingSpriteRenderer

class TilingSpriteRenderer extends PIXI.ObjectRenderer

WebGL renderer plugin for tiling sprites

Constructor


new PIXI.TilingSpriteRenderer(renderer: PIXI.Renderer) → {}

constructor for renderer

Parameters:
Name Type Description
renderer PIXI.Renderer

The renderer this tiling awesomeness works for.

Summary


Properties from TilingSpriteRenderer

Methods from TilingSpriteRenderer

void
contextChange()

Creates shaders when context is initialized.

void
render(ts: PIXI.TilingSprite)

Properties inherited from ObjectRenderer

PIXI.Renderer
protected renderer

The renderer this manager works for.

Methods inherited from ObjectRenderer

void
destroy()

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

void
flush()

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

void
start()
void
stop()

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

Public Properties


state TilingSpriteRenderer.ts:49
state: PIXI.State

The WebGL state in which this renderer will work.

Public Methods


contextChange TilingSpriteRenderer.ts:57
contextChange() → {void}

Creates shaders when context is initialized.

Returns:
Type Description
void
render TilingSpriteRenderer.ts:69
render(ts: PIXI.TilingSprite) → {void}
Parameters:
Name Type Description
ts PIXI.TilingSprite

tilingSprite to be rendered

Returns:
Type Description
void

Powered by webdoc!