export class TextureSampler { minFilter: any; magFilter: any; wrapS: any; wrapT: any; } export class Texture { sampler: TextureSampler; mipmap: boolean; get format(): number; get width(): number; get height(): number; get textureKey(): null; } export class ImageTexture extends Texture { constructor(img: any); _img: any; _imgBitmap: ImageBitmap | null; _manualKey: string | null; _promise: any; _finishImage(): any; get width(): any; get height(): any; waitForComplete(): any; get textureKey(): any; get source(): any; genDataKey(): void; } export class UrlTexture extends ImageTexture { constructor(url: any); } export class BlobTexture extends ImageTexture { constructor(blob: any); } export class VideoTexture extends Texture { constructor(video: any); _video: any; _promise: Promise; get width(): any; get height(): any; waitForComplete(): Promise; get textureKey(): any; get source(): any; } export class DataTexture extends Texture { constructor(data: any, width: any, height: any, format?: number, type?: number); _data: any; _width: any; _height: any; _format: number; _type: number; _key: string; get width(): any; get height(): any; get textureKey(): string; } export class ColorTexture extends DataTexture { constructor(r: any, g: any, b: any, a: any); }