Constructor
new WebGPURenderer( parameters : WebGPURenderer~Options )
Constructs a new WebGPU renderer.
| parameters |
The configuration parameter. |
Properties
.isWebGPURenderer : boolean (readonly)
This flag can be used for type testing.
Default is true.
.library : StandardNodeLibrary
The generic default value is overwritten with the standard node library for type mapping.
- Overrides: Renderer#library
Type Definitions
.Options
WebGPURenderer options.
|
logarithmicDepthBuffer
boolean |
Whether logarithmic depth buffer is enabled or not. Default is |
|
alpha
boolean |
Whether the default framebuffer (which represents the final contents of the canvas) should be transparent or opaque. Default is |
|
depth
boolean |
Whether the default framebuffer should have a depth buffer or not. Default is |
|
stencil
boolean |
Whether the default framebuffer should have a stencil buffer or not. Default is |
|
antialias
boolean |
Whether MSAA as the default anti-aliasing should be enabled or not. Default is |
|
samples
number |
When Default is |
|
forceWebGL
boolean |
If set to Default is |
|
multiview
boolean |
If set to Default is |
|
outputType
number |
Texture type for output to canvas. By default, device's preferred format is used; other formats may incur overhead. |
|
outputBufferType
number |
Defines the type of output buffers. The default Default is |