If enabled, the BabylonJs audio engine will be initialized.
If enabled, the viewer will be automatically resized. Viewer.resize() has to be called manually if disabled.
Can be used to disable WebGL 2 and force the use of WebGL 1. Because the support for WebGL 2 is still buggy on some devices/browsers (e.g. IOS 15.0 or some low-end Android devices), it is recommended to enable WebGL 2 only on well known devices/browsers or to offer an option to the user where he can disable it in case of problems.
Enables hardware antialiasing if supported from the hardware. Note: Hardware antialiasing does not work in combination with post processing. If you want to use it you have to disable SSAO and FXAA.
Maximum device pixel ration used for rendering.
Defines the power preferences for WebGL
If enabled, allows direct capturing of the current frame from the rendering canvas.
Has to be enabled if Viewer.createScreenshot() is used.
Enables stencil buffer access.
If enabled, the viewer will be adjust the rendering resolution to match the device pixel ratio.