Skip to content

onDeviceRestored

onDeviceRestored(listener): () => void

Defined in: render/renderer.ts:382

Called after the device has been rebuilt AND refilled — everything the GPU held is new storage, so content the game drew itself (a render texture) is blank until it is drawn again. Returns the unsubscribe.

DeviceRestoredListener

() => void