recoverDevice
此内容尚不支持你的语言。
recoverDevice():
boolean
Defined in: render/renderer.ts:211
Ask the engine to rebuild the renderer after a loss.
False means “not yet”, not “never”: a browser hands a WebGL context back when it is ready. On success the device is Recovering — drawing, with placeholder textures — until finishDeviceRecovery.
Returns
Section titled “Returns”boolean