Adds Android XR depth backend#1373
Open
austinbhale wants to merge 6 commits into
StereoKit:developStereoKit/StereoKit:developfrom
Nakamir-Code:feature/android-depth-textureNakamir-Code/StereoKit:feature/android-depth-textureCopy head branch name to clipboard
Open
Adds Android XR depth backend#1373austinbhale wants to merge 6 commits intoStereoKit:developStereoKit/StereoKit:developfrom Nakamir-Code:feature/android-depth-textureNakamir-Code/StereoKit:feature/android-depth-textureCopy head branch name to clipboard
austinbhale wants to merge 6 commits into
StereoKit:developStereoKit/StereoKit:developfrom
Nakamir-Code:feature/android-depth-textureNakamir-Code/StereoKit:feature/android-depth-textureCopy head branch name to clipboard
Conversation
austinbhale
marked this pull request as ready for review
June 26, 2026 02:51
Signed-off-by: Austin Hale <ahale@nakamir.com>
Signed-off-by: Austin Hale <ahale@nakamir.com>
Signed-off-by: Austin Hale <ahale@nakamir.com>
austinbhale
force-pushed
the
feature/android-depth-texture
branch
from
June 26, 2026 02:54
4560f8e to
0dafc0c
Compare
Signed-off-by: Austin Hale <ahale@nakamir.com>
… feature/android-depth-texture
Signed-off-by: Austin Hale <ahale@nakamir.com>
austinbhale
force-pushed
the
feature/android-depth-texture
branch
from
July 14, 2026 05:58
2d5e79e to
9bc46fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
XR_ANDROID_depth_textureas a native depth backend soSensor.Depthand depth-basedWorld.Occlusionwork on Android XR behind the existing public API.Unlike Meta's GPU swapchain (NDC d16), the Android extension delivers CPU float arrays in metric meters. A new
sensor_depth_format_field (ndc_d16vsmeters_r32) lets each backend expose its native format.sensor_depth_try_get_latest_datais now provider-aware, and the C#TryGetLatestDatahas a texture-less path.depth_format-gated path that reconstructs per-eye from fov tangents + pose.Public API changes
permission_type_scene_fine(SCENE_UNDERSTANDING_FINE)sensor_depth_format_(ndc_d16/meters_r32),sensor_depth_image_; newsensor_depth_caps_flags (raw / smooth / confidence)sensor_depth_frame_tfields:depth_format,view_count,available_imagessensor_depth_startgains aresolution;sensor_depth_try_get_latest_datagains an image selectorsensor_depth_get_resolutionsSensorDepthFormat/Image, caps flags,Sensor.Depth.Start(resolution),GetResolutions(),TryGetLatestData(..., image))Testing