Advanced
Optional
antialiasWhether to enable anti-aliasing. This may affect performance.
Optional
autoResizes 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.
Optional
canvasThe canvas to use as a view, optional.
Optional
depthWhether to ensure the main view has can make use of the depth buffer. Always true for WebGL renderer.
Optional
heightThe height of the screen.
Optional
resolutionThe resolution / device pixel ratio of the renderer.
Optional
viewAlias for canvas
.
Optional
widthThe width of the screen.
Options passed to the ViewSystem