Advanced
Optional
antialiasWhether to enable antialiasing.
User-provided WebGL rendering context object.
Whether to enable multi-view rendering. Set to true when rendering to multiple canvases on the dom.
Optional
powerAn optional hint indicating what configuration
of GPU is suitable for the WebGL context, can be 'high-performance'
or 'low-power'
. Setting to 'high-performance'
will prioritize rendering performance over power consumption, while setting to 'low-power'
will prioritize power saving
over rendering performance.
Optional
preferThe preferred WebGL version to use.
Whether the compositor will assume the drawing buffer contains colors with premultiplied alpha.
Whether to enable drawing buffer preservation.
If enabled, the drawing buffer will preserve
its value until cleared or overwritten. Enable this if you need to call toDataUrl
on the WebGL context.
Options for the context system.