visualization-tools

Home > @visualization-tools/core > Gl1ContextAdapter > (constructor)

Gl1ContextAdapter.(constructor)

Constructs a new instance of the Gl1ContextAdapter class

Signature:

constructor(canvasElement: HTMLCanvasElement, eventService: IEventService, options?: WebGLContextAttributes);

Parameters

Parameter Type Description
canvasElement HTMLCanvasElement  
eventService IEventService  
options WebGLContextAttributes