download
raw
703 Bytes
import { Texture } from './Texture.js';
class CompressedTexture extends Texture {
constructor( mipmaps, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy, colorSpace ) {
super( null, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, colorSpace );
this.isCompressedTexture = true;
this.image = { width: width, height: height };
this.mipmaps = mipmaps;
// no flipping for cube textures
// (also flipping doesn't work for compressed textures )
this.flipY = false;
// can't generate mipmaps for compressed textures
// mips must be embedded in DDS files
this.generateMipmaps = false;
}
}
export { CompressedTexture };

Xet Storage Details

Size:
703 Bytes
·
Xet hash:
4a91f2d0b2d3cb1016948807bf67ed1e1776ce86fceda7198561b4d0ec46c496

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.