OptionaladapterAdapter used by WebGPURenderer.create. Ignored by the synchronous
constructor because GPUAdapter.requestDevice is asynchronous.
OptionalalphaOptional alpha mode override for configured view canvases.
By default transparent views use premultiplied; opaque views use opaque.
OptionalcontextCanvas texture format. Defaults to navigator.gpu.getPreferredCanvasFormat()
when available, otherwise bgra8unorm.
OptionaldestroyWhether WebGPURenderer.destroy should call device.destroy().
Defaults to false for injected devices and true for devices acquired by
WebGPURenderer.create.
OptionaldevicePre-created WebGPU device.
Supplying this allows the synchronous WebGPURenderer.attachViewer
method to satisfy the backend-neutral Renderer contract.
OptionaldeviceDescriptor used by WebGPURenderer.create when requesting a device.
OptionalloggingEnables renderer error logging.
Default value is true.
OptionalrequestOptions used by WebGPURenderer.create when requesting an adapter.
OptionalviewerViewer to attach during construction.
When no device is supplied, attachment still returns
base!core.SDKErrorType.NotSupported; use
WebGPURenderer.create to request a device first.
Configuration for WebGPURenderer.