2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2022-02-28 14:29:51 +00:00
|
|
|
* @copyright 2022 Photon Storm Ltd.
|
2019-05-10 15:15:04 +00:00
|
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
2018-02-12 16:01:20 +00:00
|
|
|
*/
|
|
|
|
|
2018-03-29 14:50:48 +00:00
|
|
|
/**
|
|
|
|
* Filter Types.
|
|
|
|
*
|
2019-02-12 15:01:54 +00:00
|
|
|
* @namespace Phaser.Textures.FilterMode
|
2018-10-10 09:49:13 +00:00
|
|
|
* @memberof Phaser.Textures
|
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.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2018-03-29 14:50:48 +00:00
|
|
|
* @name Phaser.Textures.FilterMode.LINEAR
|
2020-11-23 10:22:13 +00:00
|
|
|
* @type {number}
|
2019-02-12 15:01:54 +00:00
|
|
|
* @const
|
2019-02-12 12:22:25 +00:00
|
|
|
* @since 3.0.0
|
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.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2018-03-29 14:50:48 +00:00
|
|
|
* @name Phaser.Textures.FilterMode.NEAREST
|
2020-11-23 10:22:13 +00:00
|
|
|
* @type {number}
|
2019-02-12 15:01:54 +00:00
|
|
|
* @const
|
2019-02-12 12:22:25 +00:00
|
|
|
* @since 3.0.0
|
2018-02-08 04:01:44 +00:00
|
|
|
*/
|
2017-05-20 01:16:45 +00:00
|
|
|
NEAREST: 1
|
2022-02-28 14:29:51 +00:00
|
|
|
|
2017-05-20 01:16:45 +00:00
|
|
|
};
|
|
|
|
|
2017-07-04 12:23:58 +00:00
|
|
|
module.exports = CONST;
|