2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
|
|
* @copyright 2018 Photon Storm Ltd.
|
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
2018-03-29 14:50:48 +00:00
|
|
|
/**
|
|
|
|
* Filter Types.
|
|
|
|
*
|
|
|
|
* @name Phaser.Textures.FilterMode
|
|
|
|
* @enum {integer}
|
2018-10-10 09:49:13 +00:00
|
|
|
* @memberof Phaser.Textures
|
2018-10-09 12:40:00 +00:00
|
|
|
* @readonly
|
2018-03-29 14:50:48 +00:00
|
|
|
* @since 3.0.0
|
|
|
|
*/
|
2017-05-20 01:16:45 +00:00
|
|
|
var CONST = {
|
|
|
|
|
2018-02-08 04:01:44 +00:00
|
|
|
/**
|
2018-03-21 15:18:07 +00:00
|
|
|
* Linear filter type.
|
2018-02-08 04:01:44 +00:00
|
|
|
*
|
2018-03-29 14:50:48 +00:00
|
|
|
* @name Phaser.Textures.FilterMode.LINEAR
|
2018-02-08 04:01:44 +00:00
|
|
|
*/
|
2017-05-20 01:16:45 +00:00
|
|
|
LINEAR: 0,
|
2018-02-08 04:01:44 +00:00
|
|
|
|
|
|
|
/**
|
2018-03-21 15:18:07 +00:00
|
|
|
* Nearest neighbor filter type.
|
2018-02-08 04:01:44 +00:00
|
|
|
*
|
2018-03-29 14:50:48 +00:00
|
|
|
* @name Phaser.Textures.FilterMode.NEAREST
|
2018-02-08 04:01:44 +00:00
|
|
|
*/
|
2017-05-20 01:16:45 +00:00
|
|
|
NEAREST: 1
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2017-07-04 12:23:58 +00:00
|
|
|
module.exports = CONST;
|