Type Alias: GpuSettings
GpuSettings:
object
The GPU settings that the volume render reads: the limits that a texture must respect, and the speed class of the device.
A preset is a named set of these values, which an application selects. A
preset does not describe a real device, and nothing probes the device to
choose one. The values apply only when final downsampling is on (see
rendering.lossyDownsampling.final of the configuration).
Type declaration
id
The name of the preset that gave these values.
internal?
optionalinternal:boolean
True for a preset that exists for a test, which an application must not select in production.
maxTextureEdge
maxTextureEdge:
number
The largest number of voxels that one axis of one texture can hold. WebGL devices commonly report 2048; a preset may state a lower edge so that a weak GPU reduces before it loses the context.
speed
speed:
GpuSpeedIndex
How fast this class of device draws. See GpuSpeedIndex.
textureMemoryBytes
textureMemoryBytes:
number
The number of bytes of texture memory that a texture can use.