Construct a WebGPURenderer. Consumes a pre-requested device or starts a
fresh request with raised limits to bypass three's compat-mode defaults
(see forwardedAdapterLimits in early-device-request.ts). Performs await renderer.init()
before returning.
Returns { fallback: true } so the caller can drop to WebGL when the
adapter advertises maxVertexBuffers < 8 (WebGPU spec minimum) and
rendererOverride !== 'webgpu', or when requireNativeAdapter is set and
no native device was obtained. A browser without navigator.gpu skips
the chunk prefetch; a later adapter or device failure may not.
Construct a
WebGPURenderer. Consumes a pre-requested device or starts a fresh request with raised limits to bypass three's compat-mode defaults (seeforwardedAdapterLimitsinearly-device-request.ts). Performsawait renderer.init()before returning.Returns
{ fallback: true }so the caller can drop to WebGL when the adapter advertisesmaxVertexBuffers < 8(WebGPU spec minimum) andrendererOverride !== 'webgpu', or whenrequireNativeAdapteris set and no native device was obtained. A browser withoutnavigator.gpuskips the chunk prefetch; a later adapter or device failure may not.