Extends
- WebGPUBackend
Methods
# async init(renderer) → {Promise.<void>}
Initializes the backend, including requesting a WebGPU device and configuring the context.
This method overrides the parent init
to set a specific HDR color space.
Parameters:
Name | Type | Description |
---|---|---|
renderer |
WebGLRenderer
|
The three.js renderer instance. |
A promise that resolves when the initialization is complete.
Promise.<void>