AdvancedOptionalantialiasWhether to enable anti-aliasing. This may affect performance.
OptionalautoResizes renderer view in CSS pixels to allow for resolutions other than 1.
This is only supported for HTMLCanvasElement and will be ignored if the canvas is an OffscreenCanvas.
OptionalcanvasThe canvas to use as a view, optional.
OptionaldepthWhether to ensure the main view has can make use of the depth buffer. Always true for WebGL renderer.
OptionalheightThe height of the screen.
OptionalresolutionThe resolution / device pixel ratio of the renderer.
OptionalviewAlias for canvas.
OptionalwidthThe width of the screen.
Options passed to the ViewSystem