s2maps-gpu
Version:
S2 Maps GPU - An open source, high-performance, and GPU-accelerated map engine for rendering large-scale, interactive maps.
14 lines (13 loc) • 485 B
TypeScript
import Context from './context.js';
import type { MapOptions } from 'ui/s2mapUI.js';
import type { Painter } from '../painter.spec.js';
/** WEBGL2 context class */
export default class WebGL2Context extends Context {
/**
* Ensure the context is a WebGL2 context
* @param context - WebGL2RenderingContext
* @param options - map options
* @param painter - painter
*/
constructor(context: WebGL2RenderingContext, options: MapOptions, painter: Painter);
}