mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 12:03:36 +00:00
41 lines
823 B
JavaScript
41 lines
823 B
JavaScript
/**
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
* @copyright 2018 Photon Storm Ltd.
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
*/
|
|
|
|
var Extend = require('../utils/object/Extend');
|
|
var FilterMode = require('./const');
|
|
|
|
/**
|
|
* @namespace Phaser.Textures
|
|
*/
|
|
|
|
/**
|
|
* Linear filter type.
|
|
*
|
|
* @name Phaser.Textures.LINEAR
|
|
* @constant
|
|
*/
|
|
|
|
/**
|
|
* Nearest Neighbor filter type.
|
|
*
|
|
* @name Phaser.Textures.NEAREST
|
|
* @constant
|
|
*/
|
|
|
|
var Textures = {
|
|
|
|
FilterMode: FilterMode,
|
|
Frame: require('./Frame'),
|
|
Parsers: require('./parsers'),
|
|
Texture: require('./Texture'),
|
|
TextureManager: require('./TextureManager'),
|
|
TextureSource: require('./TextureSource')
|
|
|
|
};
|
|
|
|
Textures = Extend(false, Textures, FilterMode);
|
|
|
|
module.exports = Textures;
|