UNPKG

@openglobus/og

Version:

[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely fr

26 lines (25 loc) 882 B
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<null>; $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; }