API

Type Alias EngineDeviceLostCallback

EngineDeviceLostCallback: (info: GPUDeviceLostInfo) => void

Receives the loss of the engine's device. info.reason is "destroyed" after disposeEngine (or a forced test loss).

Type Declaration

    • (info: GPUDeviceLostInfo): void
    • Parameters

      • info: GPUDeviceLostInfo

      Returns void