The Depth API allows applications access to depth buffer information that conveys information about the user's environment in Augmented Reality scenarios.
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.
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.
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.
N/A.
None.
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.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/28396c7d-f23d-4fc4-8ee2-2ccbb96d16c4o%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEiwGqkZpHKjAHJezci7scyeeGOMGOmVE3i5Mw1R4pHRLQ%40mail.gmail.com.