import { Dialog } from "../ui/Dialog"; import { Framebuffer } from "../webgl/Framebuffer"; import { Control, IControlParams } from "./Control"; import { Program } from "../webgl/Program"; export interface IFramebufferDialogParams extends IControlParams { framebuffer?: Framebuffer; title?: string; common?: string; image?: string; flippedUV?: boolean; } export declare class FramebufferPreview extends Control { protected _dialog: Dialog; $canvas: HTMLCanvasElement; protected _framebuffer: Framebuffer | null; protected _screenFramebuffer: Framebuffer | null; framebufferCurrentTexture: number; protected _program: Program; constructor(params: IFramebufferDialogParams); bindFramebuffer(framebuffer: Framebuffer): void; oninit(): void; activate(): void; deactivate(): void; protected _onDraw: () => void; }