UNPKG

433 BTypeScriptView Raw
1import { CompressedPixelFormat, TextureDataType } from "../constants.js";
2import { CompressedTexture } from "./CompressedTexture.js";
3
4export class CompressedCubeTexture extends CompressedTexture {
5 readonly isCompressedCubeTexture: true;
6 readonly isCubeTexture: true;
7
8 constructor(
9 images: Array<{ width: number; height: number }>,
10 format?: CompressedPixelFormat,
11 type?: TextureDataType,
12 );
13}