Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the status of WebXR in Electron?

Tags:

electron

webxr

There have been posts in various places over the last few years about WebVR in Electron, and the answer has always been (very reasonably) that it is not a core part of Chromium and so not supported in Electron.

However, WebXR is now a core part of Chromium. As long as you have an OpenXR installation Chromium runs WebXR with no need for special command line options or flags. However, the versions of Electron based on these versions of Chromium still do not allow XR. navigator.xr is present, but attempts to get a webXR session always fail. Is there any information about when we can hope for WebXR support?

like image 692
Stephen Todd Avatar asked Dec 21 '25 00:12

Stephen Todd


1 Answers

This is probably better as a feature request or question for the Electron community, not StackOverflow. My guess is that although WebXR APIs might be part of Chromium now, the underlying OpenXR integration is still up to the project that uses Chromium. So you're really just seeing the stubs of the API, not the actual implementation itself.

like image 107
brianpeiris Avatar answered Dec 24 '25 12:12

brianpeiris



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!