WebGL API
NovoRender.DeviceProfile
Host device performance profile.
Remarks
This profile is used to adjust rendering quality and detail to fit the contraints of of the host device.
Properties​
detailBias​
• Readonly
detailBias: number
Geometry detail bias.
discreteGPU​
• Readonly
discreteGPU: boolean
Does the host device have a discrete GPU / graphics card.
gpuBytesLimit​
• Readonly
gpuBytesLimit: number
Hard limit of gpu memory usage for static geometry.
hasMajorPerformanceCaveat​
• Readonly
hasMajorPerformanceCaveat: boolean
Whether WebGL has some major performance caveat, such as CPU or remote rendering.
name​
• Readonly
name: string
Device type name.
orthoDetailBias​
• Optional
Readonly
orthoDetailBias: number
Detail bias when using orthographic camera.
renderResolution​
• Readonly
renderResolution: number
Render resolution bias.
renderResolutionIdle​
• Readonly
renderResolutionIdle: number
Render resolution bias for when camera is not moving.
textureResolution​
• Readonly
textureResolution: number
Texture resolution bias.
throttleFrames​
• Readonly
throttleFrames: number
of frames to idle to avoid crashes/kill due to excessive power consumption on problematic mobile devices.
triangleLimit​
• Readonly
triangleLimit: number
Hard limit of # triangles for static geometry.
weakDevice​
• Readonly
weakDevice: boolean
Is this a device weak, i.e. unsuitable for demanding post processing and rendering techniques?