phaser/src/textures/const.js
2018-10-10 10:49:13 +01:00

34 lines
629 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 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
*/
LINEAR: 0,
/**
* Nearest neighbor filter type.
*
* @name Phaser.Textures.FilterMode.NEAREST
*/
NEAREST: 1
};
module.exports = CONST;