Contact emailsbia...@chromium.org, mlam...@chromium.org
The Depth API allows applications access to depth buffer information that conveys information about the user's environment in Augmented Reality scenarios.
TAG review statusPending
Interoperability and Compatibility
The feature is in Immersive Web CG to kick off discussions about interoperability and the API design. The design itself took into account ARCore (Android) and ARKit (iOS, marked as Beta) APIs to present an API shape that could be implemented in both of those platforms, and tried to ensure that other platforms that offer higher-level APIs (world reconstruction) could implement it as well.Gecko
: No signalWebKit
: No signalWeb developers
: No signals
This feature is an extension of WebXR Device API. The use of this particular feature does not depend on any other web features, although WebXR-enabled applications will most likely use WebGL.
The feature is usable as-is, although it will be more accessible to developers if used through libraries like three.js, <model-viewer>, A-Frame, etc.
Goals for experimentation
The main goal of the experiment is to gather feedback on the API shape / ergonomics from the developers - the API offers a way to access depth data on the CPU - depending on the developers' needs, there is a possibility for the API to prioritize GPU access.
Reason this experiment is being extended
Ongoing technical constraints
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?No
This will be supported on platforms where Chrome supports AR. Currently, this is only Android. There are no technical restrictions specific to this API preventing it from being implemented on other platforms.
The specification itself will be implemented in Blink for all platforms, but the spec text leaves room for the UAs to signal that a particular API depends on the device support.No
Link to entry on the Chrome Platform Statushttps://chromestatus.com/feature/5742647199137792
Links to previous Intent discussionsIntent to prototype: https://groups.google.com/a/chromium.org/d/msg/blink-dev/U5Iy4LrcwoI/dIlbC2OhAwAJ