2017-07-28 16:56:28 -04:00
|
|
|
'use strict';
|
|
|
|
|
2017-07-29 13:23:33 -04:00
|
|
|
module.exports = Texture;
|
2017-07-28 16:56:28 -04:00
|
|
|
|
|
|
|
/**
|
2017-07-29 13:23:33 -04:00
|
|
|
* An object containing information about a texture.
|
2017-07-28 16:56:28 -04:00
|
|
|
*
|
|
|
|
* @private
|
|
|
|
*/
|
2017-07-29 13:23:33 -04:00
|
|
|
function Texture() {
|
2017-07-28 16:56:28 -04:00
|
|
|
this.transparent = false;
|
|
|
|
this.source = undefined;
|
2017-07-29 13:23:33 -04:00
|
|
|
this.name = undefined;
|
2017-07-28 16:56:28 -04:00
|
|
|
this.extension = undefined;
|
|
|
|
this.path = undefined;
|
2017-07-29 13:23:33 -04:00
|
|
|
this.pixels = undefined;
|
2017-07-28 16:56:28 -04:00
|
|
|
this.width = undefined;
|
|
|
|
this.height = undefined;
|
|
|
|
}
|