Skip to content

DeviceLostReason

const DeviceLostReason: object

Defined in: render/renderer.ts:141

Why a device was lost, mirroring the engine’s GfxDeviceLostReason.

readonly ContextLost: 1 = 1

readonly Destroyed: 5 = 5

readonly Internal: 7 = 7

readonly OutOfMemory: 2 = 2

readonly Removed: 4 = 4

readonly Reset: 3 = 3

readonly Unknown: 0 = 0

readonly Validation: 6 = 6