import type * as THREE from 'three'; /** * Dispose a material and every texture it references. Frees all Texture-shaped * properties (`map`, `normalMap`, …), every texture-valued shader uniform, and * finally the material itself. */ export declare function disposeMaterial(mat: THREE.Material): void; /** * Recursively free GPU resources under `root`: every geometry plus every * material (and its textures, via {@link disposeMaterial}). Call on teardown, * route change, or quality-tier change — three.js never auto-disposes. * * @remarks Disposes everything it finds, including shared/pooled materials, so * keep pooled resources out of trees you pass here. Does not detach `root` * from its parent. */ export declare function disposeScene(root: THREE.Object3D): void; //# sourceMappingURL=dispose.d.ts.map