The renderer this System works for.
Readonly
checkFrame count since last garbage collection.
Frames between two garbage collections.
PIXI.TextureGCSystem.defaultCheckCountMax
Readonly
countFrame count since started.
Maximum idle frames before a texture is destroyed by garbage collection.
PIXI.TextureGCSystem.defaultMaxIdle
Current garbage collection mode.
PIXI.TextureGCSystem.defaultMode
Static
defaultDefault frames between two garbage collections.
600
PIXI.TextureGCSystem#checkCountMax
Static
defaultDefault maximum idle frames before a texture is destroyed by garbage collection.
3600
PIXI.TextureGCSystem#maxIdle
Static
defaultDefault garbage collection mode.
PIXI.GC_MODES.AUTO
PIXI.TextureGCSystem#mode
Removes all the textures within the specified displayObject and its children from the GPU.
the displayObject to remove the textures from.
Generated using TypeDoc
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