new PIXI.TextureGCSystem (renderer) overrides
Name | Type | Description |
---|---|---|
renderer |
PIXI.Renderer |
The renderer this System works for. |
Extends
Implements
Members
Check count
- Default Value:
- 0
Maximum number of item to check
Count
- Default Value:
- 0
Maximum idle time, in seconds
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
Inherited Properties
From class PIXI.System
renderer PIXI.Renderer inherited
Reference to the main renderer
Inherited Methods
From class PIXI.System
destroy () void inherited
Destroy and don't use after this.