@allincart-ag/dive
Version:
Allincart Spatial Framework
12 lines (11 loc) • 422 B
TypeScript
import { DIVEPerspectiveCamera } from '../camera/PerspectiveCamera.ts';
import { DIVERenderPipeline } from '../renderer/Renderer.ts';
export declare class DIVEResizeManager {
private _resizeObserver;
private _width;
private _height;
constructor(renderer: DIVERenderPipeline, camera: DIVEPerspectiveCamera);
setCanvas(canvas: HTMLCanvasElement): void;
dispose(): void;
private _observeCanvas;
}