Files
nothoughts/node_modules/pixi.js/lib/rendering/renderers/gl/texture/GlTexture.js
2025-08-04 18:57:35 +02:00

21 lines
469 B
JavaScript

'use strict';
var _const = require('./const.js');
"use strict";
class GlTexture {
constructor(texture) {
this.target = _const.GL_TARGETS.TEXTURE_2D;
this.texture = texture;
this.width = -1;
this.height = -1;
this.type = _const.GL_TYPES.UNSIGNED_BYTE;
this.internalFormat = _const.GL_FORMATS.RGBA;
this.format = _const.GL_FORMATS.RGBA;
this.samplerType = 0;
}
}
exports.GlTexture = GlTexture;
//# sourceMappingURL=GlTexture.js.map