GpuDeviceLossReason import { GpuDeviceLossReason } from "destack:gpu/binding"; Device-loss reason category. export enum GpuDeviceLossReason { Unknown = 0, Destroyed = 1, DriverReset = 2, DeviceRemoved = 3, OutOfMemory = 4, InternalError = 5, } language/library/src/gpu/binding/device.ds:8:21 Variants Unknown = 0 Device was lost for an unknown reason. Destroyed = 1 Device was intentionally destroyed. DriverReset = 2 Device became unavailable due to driver reset. DeviceRemoved = 3 Device was removed from the system. OutOfMemory = 4 Device was lost due to out-of-memory conditions. InternalError = 5 Device was lost due to internal backend error.