跳转到内容

getDeviceIdentity

此内容尚不支持你的语言。

getDeviceIdentity(source?): DeviceIdentity | null

Defined in: sdk/src/render/renderer.ts:434

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.

ESEngineModule | null = module

DeviceIdentity | null