Properties:
| Name | Type | Description |
|---|---|---|
antialias |
boolean |
Antialias turn on for WebGL, impacts performance |
autoDensity |
boolean |
Consider the resolution when resizing the view |
background |
number | string |
Alias for |
backgroundAlpha |
number |
Background color alpha |
backgroundColor |
number | string |
The background color, can be number ( |
clearBeforeRender |
boolean |
Clear the draw before render |
context |
IRenderingContext |
User-proviced rendering context object |
height |
number |
Height of the view |
hello |
boolean |
Console log the version and type of Renderer |
powerPreference |
WebGLPowerPreference |
Power preference, for multiple GPUs |
premultipliedAlpha |
boolean |
Premultiply alpha |
preserveDrawingBuffer |
boolean |
Preserve the drawing buffer |
resolution |
number |
Base resolution for the Renderer |
useContextAlpha |
boolean | "notMultiplied" |
Use premultipliedAlpha and backgroundAlpha instead |
view |
PIXI.ICanvas |
Canvas or OffscreenCanvas to use, will be created if omitted |
width |
number |
Width of the view |
Extends
- GlobalMixins.IRendererOptions
Members
Antialias turn on for WebGL, impacts performance
Consider the resolution when resizing the view
Alias for backgroundColor
Background color alpha
The background color, can be number (0xff0000) or string (#f00)
Clear the draw before render
context IRenderingContext
User-proviced rendering context object
Height of the view
Console log the version and type of Renderer
Power preference, for multiple GPUs
Premultiply alpha
Preserve the drawing buffer
Base resolution for the Renderer
Use premultipliedAlpha and backgroundAlpha instead
view PIXI.ICanvas
Canvas or OffscreenCanvas to use, will be created if omitted
Width of the view