Skip to main content

Function: gpuSettingsForRender()

gpuSettingsForRender(): GpuSettings | undefined

The GPU settings that a render applies, or undefined when no preset applies: final downsampling is off, or the renderer is a software renderer or CPU rendering (see gpuSettingsApply), whatever preset is active. With undefined, a volume renders as in 4.x, with no probe and no read of the record. 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:507