Class: ObjectRenderer

PIXI.ObjectRenderer

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

new PIXI.ObjectRenderer (renderer) overrides

ObjectRenderer.ts:14
Name Type Description
renderer PIXI.Renderer

The renderer this manager works for.

Extends

Members

The renderer this manager works for.

Methods

destroy () void overrides

ObjectRenderer.ts:36

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

flush () void

ObjectRenderer.ts:27

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

render (object) void

ObjectRenderer.ts:65

Keeps the object to render. It doesn't have to be rendered immediately.

Name Type Description
object PIXI.DisplayObject

The object to render.

start () void

ObjectRenderer.ts:45

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.

stop () void

ObjectRenderer.ts:56

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