Interface: ViewSystemOptions

ViewSystemOptions

Options passed to the ViewSystem

Properties:
Name Type Description
antialias boolean

Whether to enable anti-aliasing. This may affect performance.

autoDensity boolean

Resizes renderer view in CSS pixels to allow for resolutions other than 1.

canvas ICanvas

The canvas to use as a view, optional.

depth boolean

Whether to ensure the main view has can make use of the depth buffer. Always true for WebGL renderer.

height number

The height of the screen.

multiView boolean

TODO: multiView

resolution number

The resolution / device pixel ratio of the renderer.

view ICanvas
width number

The width of the screen.

Members

antialias boolean

Whether to enable anti-aliasing. This may affect performance.

autoDensity boolean

Resizes renderer view in CSS pixels to allow for resolutions other than 1.

canvas ICanvas

The canvas to use as a view, optional.

depth boolean

Whether to ensure the main view has can make use of the depth buffer. Always true for WebGL renderer.

height number

The height of the screen.

multiView boolean

TODO: multiView

resolution number

The resolution / device pixel ratio of the renderer.

view ICanvas Deprecated

width number

The width of the screen.