Advanced
The renderer this System works for.
Current garbage collection mode.
Readonly
checkFrame count since last garbage collection.
Frames between two garbage collections.
Readonly
countFrame count since started.
Maximum idle frames before a texture is destroyed by garbage collection.
Static
defaultdefault options for the TextureGCSystem
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.