XRWebGLBinding interface
- Category
- Miscellaneous
- Type
- New or changed feature
- Status
- No active development (Chrome No active development)
- Intent stage
- Prepare to ship
WPT details: N/A, there is no feature to be tested.
Summary
Exposes a base interface, XRWebGLBinding, introduced by the WebXr Layers spec, and consumed by various other WebXr APIs. Most notably, lighting estimation and raw camera access. This interface would be a stub, exposing only a constructor and no additional methods.
Motivation
The XRWebGLBinding is a key component of several APIs that are currently in active development in Chrome; however, is owned by neither of them. The XRWebGLBinding is necessary for methods that return a WebGLTexture to WebXR applications to use. Since Chrome is not actively working towards shipping the full WebXR Layers spec, this exposes just the base interface (and corresponding constructor).
Standards & signals
- Specification: https://immersive-web.github.io/layers/#XRWebGLBindingtype
- Firefox: No signal
- Safari: No signal
- Web developers: Positive — Interest in consuming APIs dependent on this interface
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=xrwebglbinding-interface
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+XRWebGLBinding%20interface
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=XRWebGLBinding%20interface
- Baseline status: https://webstatus.dev/?q=XRWebGLBinding%20interface
Samples: https://storage.googleapis.com/chromium-webxr-test/latest.html?target=proposals/lighting-estimation.html https://storage.googleapis.com/chromium-webxr-test/latest.html?target=proposals/camera-access-barebones.html