Returns a shared GPUDevice, initialising it on the first call.
All renderers share the same adapter and device to avoid exhausting
browser GPU resource limits.
The device is requested with timestamp-query enabled if the adapter
supports it, so profiling-capable renderers (e.g. DmdRenderer) can use
that feature without a separate device request.
Returns Promise<GPUDevice>
StaticreleaseSharedDevice
releaseSharedDevice(): void
Clear the cached adapter and device. Call this during cleanup or in tests.
Fire a one-shot impact for "decay" mode. Resets the decay envelope so the
shake kicks to full intensity and settles again over decayDuration seconds.
Has no visible effect in the continuous modes.
Returns a shared GPUDevice, initialising it on the first call. All renderers share the same adapter and device to avoid exhausting browser GPU resource limits. The device is requested with
timestamp-queryenabled if the adapter supports it, so profiling-capable renderers (e.g. DmdRenderer) can use that feature without a separate device request.