WebglCanvasOptions
Defined in: src/renderers/WebGlCanvas.ts:46
Settings for WebGlCanvas.
Properties
Property | Type | Description |
---|---|---|
onlost | () => void | Function to be called if the context is lost. |
onrestored | () => void | Function to be called if the context is restored. |
useDpi | boolean | Use DPI scaling. Default true |