Home

constant: GC_MODES


  {
    "comment": "/**\n * The gc modes that are supported by pixi.\n *\n * The {@link PIXI.settings.GC_MODE} Garbage Collection mode for pixi textures is AUTO\n * If set to GC_MODE, the renderer will occasionally check textures usage. If they are not\n * used for a specified period of time they will be removed from the GPU. They will of course\n * be uploaded again when they are required. This is a silent behind the scenes process that\n * should ensure that the GPU does not  get filled up.\n *\n * Handy for mobile devices!\n * This property only affects WebGL.\n *\n * @static\n * @constant\n * @name GC_MODES\n * @memberof PIXI\n * @type {object}\n * @property {number} AUTO - Garbage collection will happen periodically automatically\n * @property {number} MANUAL - Garbage collection will need to be called manually\n */",
    "meta": {
        "range": [
            4169,
            4962
        ],
        "filename": "const.js",
        "lineno": 180,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core",
        "code": {}
    },
    "description": "

The gc modes that are supported by pixi.

\n

The {@link PIXI.settings.GC_MODE} Garbage Collection mode for pixi textures is AUTO
If set to GC_MODE, the renderer will occasionally check textures usage. If they are not
used for a specified period of time they will be removed from the GPU. They will of course
be uploaded again when they are required. This is a silent behind the scenes process that
should ensure that the GPU does not get filled up.

\n

Handy for mobile devices!
This property only affects WebGL.

", "scope": "static", "kind": "constant", "name": "GC_MODES", "memberof": "PIXI", "type": { "names": [ "object" ] }, "properties": [ { "type": { "names": [ "number" ] }, "description": "

Garbage collection will happen periodically automatically

", "name": "AUTO" }, { "type": { "names": [ "number" ] }, "description": "

Garbage collection will need to be called manually

", "name": "MANUAL" } ], "longname": "PIXI.GC_MODES", "___id": "T000002R007153", "___s": true, "filepath": "core\\const.js" }