/** Floats of the parameters, in SliceParams order (volume-slices.wgsl). */ export declare const SLICE_PARAMS = 48; export interface SliceInputs { /** Three.js renderer.info.frame; all cameras drawn in one frame share this ID. */ frame: number; /** Render target size in pixels; the slices use half of it on each axis. */ width: number; height: number; /** `SLICE_PARAMS` floats in SliceParams order (volume-slices.wgsl). */ params: Float32Array; /** The field pool, and the boxes and their page tables (VolumeLighting). */ fields: GPUTexture; smokeField: GPUTexture; pages: GPUTexture; boxes: GPUTexture; lighting: GPUTexture; occupancy: GPUTexture; lut: GPUTexture; } /** Half-resolution camera march, stored at evenly spaced depths through the volume. */ export declare class VolumeSlices { private readonly device; private readonly sampler; private pipeline; private readonly uniform; /** Current/recent camera sizes coexist; obsolete resize targets are retired. */ private readonly targets; private retireBefore; private cleanupScheduled; private constructor(); static create(device: GPUDevice, sampler: GPUSampler): Promise; /** Submits the march immediately so it precedes the render that samples it. */ march(inputs: SliceInputs): GPUTexture; /** Retain current and previous frame sizes for multi-camera rendering. Defer * destruction until the synchronous Three.js render stack (including reentrant * views) has submitted its draws: onBeforeRender runs before that submission. */ beginFrame(frame: number, enabled?: boolean): void; textures(): IterableIterator; /** Current native allocation, including retained target sizes after a resize. */ get memoryBytes(): number; dispose(): void; }