Skip to content

getDeviceStatus

getDeviceStatus(): number

Defined in: render/renderer.ts:153

Whether the GPU device can still be drawn to.

Reports Live when the core cannot answer — an older wasm build, or a native backend with no heap to marshal. Treating “cannot tell” as a loss would black out every host predating this call.

number