Skip to content

WebglCanvasOptions

Defined in: src/renderers/WebGlCanvas.ts:46

Settings for WebGlCanvas.

Properties

PropertyTypeDescription
onlost() => voidFunction to be called if the context is lost.
onrestored() => voidFunction to be called if the context is restored.
useDpibooleanUse DPI scaling. Default true