industrial-harbor-viewer / node_modules /three /src /textures /CompressedArrayTexture.js
KoeYe's picture
Add viewer app, scene data, and three.js runtime
b797337 verified
Raw History Blame Contribute Delete
434 Bytes
import { ClampToEdgeWrapping } from '../constants.js';
import { CompressedTexture } from './CompressedTexture.js';
class CompressedArrayTexture extends CompressedTexture {
constructor( mipmaps, width, height, depth, format, type ) {
super( mipmaps, width, height, format, type );
this.isCompressedArrayTexture = true;
this.image.depth = depth;
this.wrapR = ClampToEdgeWrapping;
}
}
export { CompressedArrayTexture };