interface.DeviceLimits
API > DeviceLimits
Interface: DeviceLimits
Device hardware limitations.
Remarks
Note that these limitations should reflect the effective limitations of the browser hosting web app, with room for UI and other app related resources.
Properties
maxGPUBytes
readonly
maxGPUBytes:number
Max. # bytes allowed for GPU resources, such as buffers and textures.
Source
@novorender/core3d/device.ts:96
maxPrimitives
readonly
maxPrimitives:number
Max. render primitives (points, lines and triangles) allowed for each frame.
Source
@novorender/core3d/device.ts:98
maxSamples
readonly
maxSamples:number
Max. # of multisample anti aliasing MSAA.
Remarks
Should be an integer number, generally between 2 and 16. Higher numbers will give better anti aliasing at the expense of slower rendering and more memory usage. 4 is a reasonable value for most devices. 8 works well on powerful discrete GPUs, such as Nvidia. If this value exceeds the max # samples allowed on this device, the driver will cap it to the lower number.