Home

constant: SCALE_MODES


  {
    "comment": "/**\n * The scale modes that are supported by pixi.\n *\n * The {@link PIXI.settings.SCALE_MODE} scale mode affects the default scaling mode of future operations.\n * It can be re-assigned to either LINEAR or NEAREST, depending upon suitability.\n *\n * @static\n * @constant\n * @memberof PIXI\n * @name SCALE_MODES\n * @type {object}\n * @property {number} LINEAR Smooth scaling\n * @property {number} NEAREST Pixelating scaling\n */",
    "meta": {
        "range": [
            2872,
            3294
        ],
        "filename": "const.js",
        "lineno": 136,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core",
        "code": {}
    },
    "description": "

The scale modes that are supported by pixi.

\n

The {@link PIXI.settings.SCALE_MODE} scale mode affects the default scaling mode of future operations.
It can be re-assigned to either LINEAR or NEAREST, depending upon suitability.

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

Smooth scaling

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

Pixelating scaling

", "name": "NEAREST" } ], "longname": "PIXI.SCALE_MODES", "___id": "T000002R007142", "___s": true, "filepath": "core\\const.js" }