Name | Type | Description |
---|---|---|
renderer |
PIXI.Renderer |
The renderer this System works for. |
Implements
Members
Default frames between two garbage collections.
- Default Value:
- 600
- See:
Default maximum idle frames before a texture is destroyed by garbage collection.
- Default Value:
- 3600
- See:
PIXI.TextureGCSystem.defaultMode PIXI.GC_MODES static
Default garbage collection mode.
- Default Value:
- PIXI.GC_MODES.AUTO
- See:
Frame count since last garbage collection.
Frames between two garbage collections.
Frame count since started.
Maximum idle frames before a texture is destroyed by garbage collection.
mode PIXI.GC_MODES
Current garbage collection mode.
Methods
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.
Removes all the textures within the specified displayObject and its children from the GPU.
Name | Type | Description |
---|---|---|
displayObject |
PIXI.DisplayObject |
the displayObject to remove the textures from. |
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.