pixi.js
    Preparing search index...

    Interface TextureGCSystemOptionsAdvanced

    Options for the TextureGCSystem.

    interface TextureGCSystemOptions {
        textureGCActive: boolean;
        textureGCAMaxIdle: number;
        textureGCCheckCountMax: number;
        textureGCMaxIdle: number;
    }
    Index

    Properties

    textureGCActive: boolean

    If set to true, this will enable the garbage collector on the GPU.

    true
    
    textureGCAMaxIdle: number

    since 8.3.0

    textureGCCheckCountMax: number

    Frames between two garbage collections.

    600
    
    textureGCMaxIdle: number

    The maximum idle frames before a texture is destroyed by garbage collection.

    60 * 60