WebGLController
Classes
default
Defined in: controllers/WebGLController.ts:13
Constructors
Constructor
new default(
canvas
):default
Defined in: controllers/WebGLController.ts:35
Parameters
canvas
HTMLCanvasElement
Returns
Properties
DEFAULT_DRAW_OPTIONS
readonly
static
DEFAULT_DRAW_OPTIONS:DrawOptions
Defined in: controllers/WebGLController.ts:16
MAX_CANVAS_SIZE
readonly
static
MAX_CANVAS_SIZE:4096
=4096
Defined in: controllers/WebGLController.ts:15
Methods
destroy()
destroy():
void
Defined in: controllers/WebGLController.ts:102
Returns
void
draw()
draw(
viewport
):void
Defined in: controllers/WebGLController.ts:76
Parameters
viewport
Returns
void
initialize()
initialize(
signal?
):Promise
<default
>
Defined in: controllers/WebGLController.ts:57
Parameters
signal?
AbortSignal
Returns
Promise
<default
>
resize()
resize(
width
,height
):void
Defined in: controllers/WebGLController.ts:83
Parameters
width
number
height
number
Returns
void
setDrawOptions()
setDrawOptions(
drawOptions
):void
Defined in: controllers/WebGLController.ts:50
Parameters
drawOptions
Partial
<DrawOptions
>
Returns
void
synchronizePoints()
synchronizePoints(...
args
):Promise
<void
>
Defined in: controllers/WebGLController.ts:64
Parameters
args
...[Map
<string
, ILayerModel
>, Map
<string
, IPointsModel
>, Map
<string
, Map
<string
, number
>>, Map
<string
, Map
<string
, Color
>>, Map
<string
, Map
<string
, boolean
>>, Map
<string
, Map
<string
, number
>>]
Returns
Promise
<void
>
synchronizeShapes()
synchronizeShapes(...
args
):Promise
<void
>
Defined in: controllers/WebGLController.ts:70
Parameters
args
...[Map
<string
, ILayerModel
>, Map
<string
, IShapesModel
>, (shapes
, signal?
) => Promise
<IShapesData
>, (tableId
, signal?
) => Promise
<ITableData
>, AbortSignal
]
Returns
Promise
<void
>
createCanvas()
static
createCanvas():HTMLCanvasElement
Defined in: controllers/WebGLController.ts:26
Returns
HTMLCanvasElement
Type Aliases
Rect
Rect =
object
Defined in: controllers/WebGLController.ts:6
Properties
height
height:
number
Defined in: controllers/WebGLController.ts:10
width
width:
number
Defined in: controllers/WebGLController.ts:9
x
x:
number
Defined in: controllers/WebGLController.ts:7
y
y:
number
Defined in: controllers/WebGLController.ts:8