Home > @visualization-tools/core > Gl2ContextAdapter > (constructor)
Constructs a new instance of the Gl2ContextAdapter class
Signature:
constructor(canvasElement: HTMLCanvasElement, eventService: IEventService, options?: WebGLContextAttributes);
| Parameter | Type | Description |
|---|---|---|
| canvasElement | HTMLCanvasElement | |
| eventService | IEventService | |
| options | WebGLContextAttributes |