Cesium-Examples/libs/three/src/textures/CompressedArrayTexture.js

19 lines
434 B
JavaScript
Raw Normal View History

2025-03-11 08:25:45 +00:00
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 };