Menu

Interface WebglCanvasOptions

Settings for {@link WebGlCanvas}

Hierarchy

  • WebglCanvasOptions

Index

Properties

Properties

onlost

onlost: () => void

Function to be called if the context is lost

Type declaration

    • (): void
    • Returns void

onrestored

onrestored: () => void

Function to be called if the context is restored

Type declaration

    • (): void
    • Returns void

useDpi

useDpi: boolean

Use DPI scaling