Interface: ViewSystemOptions
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/ViewSystem.d.ts:14
Options passed to the ViewSystem
Advanced
Properties
antialias?
> optional antialias?: boolean
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/ViewSystem.d.ts:42
Whether to enable anti-aliasing. This may affect performance.
autoDensity?
> optional autoDensity?: boolean
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/ViewSystem.d.ts:38
Resizes 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.
canvas?
> optional canvas?: ICanvas
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/ViewSystem.d.ts:26
The canvas to use as a view, optional.
depth?
> optional depth?: boolean
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/ViewSystem.d.ts:44
Whether to ensure the main view has can make use of the depth buffer. Always true for WebGL renderer.
height?
> optional height?: number
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/ViewSystem.d.ts:24
The height of the screen.
Default
600
resolution?
> optional resolution?: number
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/ViewSystem.d.ts:40
The resolution / device pixel ratio of the renderer.
~~view?~~
> optional view?: ICanvas
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/ViewSystem.d.ts:31
Alias for canvas.
Deprecated
since 8.0.0
width?
> optional width?: number
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/ViewSystem.d.ts:19
The width of the screen.
Default
800