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