phaser/src/textures/const.js
2019-02-12 12:22:25 +00:00

36 lines
669 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2019 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* Filter Types.
*
* @name Phaser.Textures.FilterMode
* @enum {integer}
* @memberof Phaser.Textures
* @readonly
* @since 3.0.0
*/
var CONST = {
/**
* Linear filter type.
*
* @name Phaser.Textures.FilterMode.LINEAR
* @since 3.0.0
*/
LINEAR: 0,
/**
* Nearest neighbor filter type.
*
* @name Phaser.Textures.FilterMode.NEAREST
* @since 3.0.0
*/
NEAREST: 1
};
module.exports = CONST;