跳转到内容

reportDeviceLost

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

reportDeviceLost(reason, message): void

Defined in: render/renderer.ts:191

Tell the engine about a loss the host observed.

The browser reports context loss to JS, not to wasm, so without this the core keeps submitting until its own next poll notices.

number

string

void