Home > @visualization-tools/core > Gl2ContextAdapter
Webgl2 context adapter. Handles viewport and context loss.
Signature:
export declare class Gl2ContextAdapter extends GlContextAdapter<WebGL2RenderingContext>
Extends: GlContextAdapter<WebGL2RenderingContext>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(canvasElement, eventService, options) | Constructs a new instance of the Gl2ContextAdapter class |