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.
Returns
Section titled “Returns”DeviceIdentity | null