2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2019-01-15 16:20:22 +00:00
|
|
|
* @copyright 2019 Photon Storm Ltd.
|
2018-02-12 16:01:20 +00:00
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
2018-03-29 14:50:48 +00:00
|
|
|
var Extend = require('../utils/object/Extend');
|
|
|
|
var FilterMode = require('./const');
|
|
|
|
|
2018-01-31 13:54:44 +00:00
|
|
|
/**
|
|
|
|
* @namespace Phaser.Textures
|
|
|
|
*/
|
2018-01-16 22:28:29 +00:00
|
|
|
|
2018-03-29 14:50:48 +00:00
|
|
|
/**
|
|
|
|
* Linear filter type.
|
|
|
|
*
|
|
|
|
* @name Phaser.Textures.LINEAR
|
|
|
|
* @constant
|
|
|
|
*/
|
2018-01-16 22:28:29 +00:00
|
|
|
|
2018-03-29 14:50:48 +00:00
|
|
|
/**
|
|
|
|
* Nearest Neighbor filter type.
|
|
|
|
*
|
|
|
|
* @name Phaser.Textures.NEAREST
|
|
|
|
* @constant
|
|
|
|
*/
|
|
|
|
|
|
|
|
var Textures = {
|
2018-02-08 04:01:44 +00:00
|
|
|
|
2018-03-29 14:50:48 +00:00
|
|
|
FilterMode: FilterMode,
|
2018-01-16 22:28:29 +00:00
|
|
|
Frame: require('./Frame'),
|
2018-03-29 14:50:48 +00:00
|
|
|
Parsers: require('./parsers'),
|
2018-01-16 22:28:29 +00:00
|
|
|
Texture: require('./Texture'),
|
|
|
|
TextureManager: require('./TextureManager'),
|
2018-03-29 14:50:48 +00:00
|
|
|
TextureSource: require('./TextureSource')
|
2018-01-16 22:28:29 +00:00
|
|
|
|
|
|
|
};
|
2018-03-16 17:35:01 +00:00
|
|
|
|
2018-03-29 14:50:48 +00:00
|
|
|
Textures = Extend(false, Textures, FilterMode);
|
|
|
|
|
2018-03-16 17:35:01 +00:00
|
|
|
module.exports = Textures;
|