Skip to main content

Function: canRunGpuMemoryCalibration()

canRunGpuMemoryCalibration(): boolean

Experimental

True when a calibration run may start: the record holds a GPU memory failure that happened during an allocation, WebGL is available, and no run is under way.

A calibration run allocates until the GPU fails, so the browser blocks WebGL for about two minutes afterwards. The application warns the user of that before it starts a run.

It may change in a later 5.x version.

Returns​

boolean

Defined in​

packages/core/src/utilities/gpuMemoryCalibration.ts:94