Properties:
Name | Type | Description |
---|---|---|
manageImports |
boolean |
Whether to manage the dynamic imports of the renderer code. It is true by default, this means PixiJS will load all the default pixi systems and extensions. If you set this to false, then you as the dev will need to manually import the systems and extensions you need. |
preference |
"webgl" | "webgpu" |
The preferred renderer type. WebGPU is recommended as its generally faster than WebGL. |
webgl |
Partial<WebGLOptions> |
Optional WebGLOptions to pass only to the WebGL renderer |
webgpu |
Partial<WebGPUOptions> |
Optional WebGPUOptions to pass only to WebGPU renderer. |
Extends
Members
Whether to manage the dynamic imports of the renderer code. It is true by default, this means PixiJS will load all the default pixi systems and extensions. If you set this to false, then you as the dev will need to manually import the systems and extensions you need.
The preferred renderer type. WebGPU is recommended as its generally faster than WebGL.
webgl Partial<WebGLOptions>
Optional WebGLOptions to pass only to the WebGL renderer
webgpu Partial<WebGPUOptions>
Optional WebGPUOptions to pass only to WebGPU renderer.