pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
17 lines (13 loc) • 409 B
JavaScript
;
var TextureSource = require('./TextureSource.js');
;
class CompressedSource extends TextureSource.TextureSource {
constructor(options) {
super(options);
this.uploadMethodId = "compressed";
this.resource = options.resource;
this.mipLevelCount = this.resource.length;
}
}
exports.CompressedSource = CompressedSource;
//# sourceMappingURL=CompressedSource.js.map