mirror of
https://github.com/jiawanlong/Cesium-Examples.git
synced 2025-07-07 00:37:30 +00:00
19 lines
434 B
JavaScript
19 lines
434 B
JavaScript
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 };
|