UNPKG

540 BJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, '__esModule', { value: true });
4
5var constants = require('@pixi/constants');
6
7class GLTexture {
8 constructor(texture) {
9 this.texture = texture;
10 this.width = -1;
11 this.height = -1;
12 this.dirtyId = -1;
13 this.dirtyStyleId = -1;
14 this.mipmap = false;
15 this.wrapMode = 33071;
16 this.type = constants.TYPES.UNSIGNED_BYTE;
17 this.internalFormat = constants.FORMATS.RGBA;
18 this.samplerType = 0;
19 }
20}
21
22exports.GLTexture = GLTexture;
23//# sourceMappingURL=GLTexture.js.map