mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
38 lines
682 B
JavaScript
38 lines
682 B
JavaScript
/**
|
|
* @author Richard Davey <rich@phaser.io>
|
|
* @copyright 2013-2024 Phaser Studio Inc.
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
|
*/
|
|
|
|
/**
|
|
* Filter Types.
|
|
*
|
|
* @namespace Phaser.Textures.FilterMode
|
|
* @memberof Phaser.Textures
|
|
* @since 3.0.0
|
|
*/
|
|
var CONST = {
|
|
|
|
/**
|
|
* Linear filter type.
|
|
*
|
|
* @name Phaser.Textures.FilterMode.LINEAR
|
|
* @type {number}
|
|
* @const
|
|
* @since 3.0.0
|
|
*/
|
|
LINEAR: 0,
|
|
|
|
/**
|
|
* Nearest neighbor filter type.
|
|
*
|
|
* @name Phaser.Textures.FilterMode.NEAREST
|
|
* @type {number}
|
|
* @const
|
|
* @since 3.0.0
|
|
*/
|
|
NEAREST: 1
|
|
|
|
};
|
|
|
|
module.exports = CONST;
|