← Back to release summary

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

Ecosystem

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

View on chromestatus.com