CachedContainer

CachedContainer

A special type of PIXI.Container which draws its contents to a cached RenderTexture. This is accomplished by overriding the Container#render method to draw to our own special RenderTexture.

Constructor

new CachedContainer()

Extends

  • PIXI.Container

Members

clearColor :Array.<number>

An RGBA array used to define the clear color of the RenderTexture

Type:

displayed :boolean

Should our Container also be displayed on screen, in addition to being drawn to the cached RenderTexture?

Type:
  • boolean

Methods

destroy()

render()