Options
All
  • Public
  • Public/Protected
  • All
Menu

System plugin to the renderer to manage texture garbage collection on the GPU, ensuring that it does not get clogged up with textures that are no longer being used.

memberof

PIXI

Hierarchy

Index

Constructors

constructor

Properties

checkCount

checkCount: number

checkCountMax

checkCountMax: number

count

count: number

maxIdle

maxIdle: number

mode

mode: GC_MODES

renderer

renderer: Renderer

Methods

destroy

  • destroy(): void
  • Generic destroy methods to be overridden by the subclass

    Returns void

Protected postrender

  • postrender(): void
  • Checks to see when the last time a texture was used if the texture has not been used for a specified amount of time it will be removed from the GPU

    Returns void

run

  • run(): void
  • Checks to see when the last time a texture was used if the texture has not been used for a specified amount of time it will be removed from the GPU

    Returns void

unload

  • Removes all the textures within the specified displayObject and its children from the GPU

    Parameters

    Returns void

Generated using TypeDoc