Advanced
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.
since 8.15.0
GCSystem
The renderer this System works for.
Static
Default options for the TextureGCSystem
Current garbage collection mode.
TextureGCSystem.defaultMode
Frame count since last garbage collection.
Frames between two garbage collections.
TextureGCSystem.defaultCheckCountMax
Frame count since started.
Maximum idle frames before a texture is destroyed by garbage collection.
TextureGCSystem.defaultMaxIdle
Generic destroy methods to be overridden by the subclass
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.
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.
Deprecated
since 8.15.0
See
GCSystem