Skip to main content

Function: gpuSettingsForRender()

gpuSettingsForRender(): GpuSettings | undefined

The GPU settings that a render applies, or undefined when final downsampling is off or CPU rendering is on. Then no preset applies, and a volume renders as in 4.x: the presets describe WebGL GPU limits, not CPU memory. Every render path reads the settings here, so that one check covers them all.

Returns​

GpuSettings | undefined

Defined in​

packages/core/src/utilities/gpuSettingsPresets.ts:159