import type { Engine } from './engine'; import type { TextureConfigOptions } from './texture'; import { Texture } from './texture'; import { type Disposable } from './utils'; export interface TextureCacheRequest extends TextureConfigOptions { width: number; height: number; name: string; format?: typeof WebGLRenderingContext.RGBA | typeof WebGL2RenderingContext.RGB | typeof WebGLRenderingContext.LUMINANCE; type?: typeof WebGLRenderingContext.UNSIGNED_BYTE | typeof WebGLRenderingContext.FLOAT | typeof WebGL2RenderingContext.HALF_FLOAT; minFilter?: GLenum; magFilter?: GLenum; wrapS?: GLenum; wrapT?: GLenum; } export declare class PassTextureCache implements Disposable { private textureCache; private textureRef; private engine?; constructor(engine: Engine); requestColorAttachmentTexture(request: TextureCacheRequest): Texture; removeTexture(id: string): void; dispose(): void; }