Skip to content

getDeviceIdentity

getDeviceIdentity(): DeviceIdentity | null

Defined in: render/renderer.ts:178

The GPU this session is running on, readable WHILE it works.

The engine captured this at init all along — a lost backend cannot be asked who it was — but it could only be read off a loss report, so a healthy session could not say which GPU it had. Null before a device exists.

DeviceIdentity | null