Options
All
  • Public
  • Public/Protected
  • All
Menu

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

memberof

PIXI

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • renderer: Renderer

      The renderer this manager works for.

    Returns ObjectRenderer

Properties

Protected renderer

renderer: Renderer

Methods

destroy

  • destroy(): void
  • Generic destruction method that frees all resources. This should be called by subclasses.

    Returns void

flush

  • flush(): void
  • Stub method that should be used to empty the current batch by rendering objects now.

    Returns void

render

  • render(_object: any): void
  • Keeps the object to render. It doesn't have to be rendered immediately.

    Parameters

    • _object: any

    Returns void

start

  • start(): void
  • 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.

    Returns void

stop

  • stop(): void
  • Stops the renderer. It should free up any state and become dormant.

    Returns void

Generated using TypeDoc