mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
36 lines
669 B
JavaScript
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;
|