Function: embeddingViewSupported()
embeddingViewSupported():
Promise<boolean>
Defined in: embedding-view.tsx:79
Whether THIS browser can run EmbeddingView. embedding-atlas renders through WebGPU only — no WebGL fallback (0.24) — and when the API is missing it paints an easy-to-miss one-line note inside the view. Probe up front and mount real fallback UI instead.
The checks mirror the component's own gate exactly: navigator.gpu with requestAdapter AND wgslLanguageFeatures (its presence test), an adapter granted, and the shader-f16 feature — the component requests every device with requiredFeatures: ["shader-f16"], so an adapter without it fails there. Reading adapter.features answers that without holding a device. Resolves in milliseconds; callers cache the answer (a cell holds it naturally — support never changes within a session).
Returns
Promise<boolean>