Skip to main content

Function: suggestGpuMemoryLimit()

suggestGpuMemoryLimit(): number

Experimental

The memory limit to offer the user, in GPU bytes of the page. Cornerstone3D never applies it; the application offers it and the user picks. It follows the last failure of the record (see GpuMemoryFailureEventDetail), and with no failure recorded it is the current limit, or 128 MB when no limit applies.

It may change in a later 5.x version.

Returns​

number

Defined in​

packages/core/src/utilities/gpuMemoryFailures.ts:250