Skip to main content

Function: getGpuMemoryHistory()

getGpuMemoryHistory(): GpuMemoryHistory

Experimental

What the record of this device holds about its GPU memory, for a memory dialog: the successes and failures of each size, the largest page total and texture that worked, the last failure and the last calibration. It is a copy, so a change to it changes nothing.

buckets holds every size of GPU_MEMORY_BUCKETS_GB, in order, and the bucket above the last size, with zero counts where nothing is recorded. A record from before the history existed states its largest page total from the memory record of the device.

It may change in a later 5.x version.

Returns​

GpuMemoryHistory

Defined in​

packages/core/src/utilities/gpuMemoryHistory.ts:24