phaser/src/textures/const.js
2024-02-19 17:12:24 +00:00

38 lines
682 B
JavaScript

/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2024 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Filter Types.
*
* @namespace Phaser.Textures.FilterMode
* @memberof Phaser.Textures
* @since 3.0.0
*/
var CONST = {
/**
* Linear filter type.
*
* @name Phaser.Textures.FilterMode.LINEAR
* @type {number}
* @const
* @since 3.0.0
*/
LINEAR: 0,
/**
* Nearest neighbor filter type.
*
* @name Phaser.Textures.FilterMode.NEAREST
* @type {number}
* @const
* @since 3.0.0
*/
NEAREST: 1
};
module.exports = CONST;