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); }