OpenXR samples and preview headers for HoloLens and Windows Mixed Reality developers familiar with Visual Studio
Перейти к файлу
yl-msft 6742451152
Update samples to release 109 (#98)
2021-11-24 10:23:38 -08:00
openxr_preview Update samples to release 109 (#98) 2021-11-24 10:23:38 -08:00
samples Update headers & samples from release 108. (#91) 2021-08-17 18:48:30 -07:00
shared Update samples to release 109 (#98) 2021-11-24 10:23:38 -08:00
.clang-format Add openxr_preview headers and related samples (#35) 2020-02-22 11:33:18 -08:00
.gitattributes Remove LFS files (#50) 2020-07-22 11:04:12 -07:00
.gitignore Update to 1.0.9 SDK (#44) 2020-06-06 10:37:44 -07:00
BasicXrApp.sln Add openxr_preview headers and related samples (#35) 2020-02-22 11:33:18 -08:00
Directory.Build.props Add XR_MSFT_scene_understanding_preview extension (#67) 2020-10-15 22:55:28 -07:00
Directory.Build.targets Bring Bryce's fix for recent build break due to VS 16.7.1 upgrade. (#57) 2020-08-17 21:25:19 -07:00
LICENSE Update samples including SceneUnderstand extension preview2 (#74) 2021-01-11 17:56:34 -08:00
NOTICE Update samples including SceneUnderstand extension preview2 (#74) 2021-01-11 17:56:34 -08:00
README.md Update samples to release 109 (#98) 2021-11-24 10:23:38 -08:00
Samples.sln Update samples including SceneUnderstand extension preview2 (#74) 2021-01-11 17:56:34 -08:00
azure-pipelines.yml Add preview extension support for XR_MSFT_spatial_anchor_export_preview (#77) 2021-02-25 18:00:53 -08:00

README.md

OpenXR Samples for Mixed Reality Developers

This repository contains OpenXR code samples tailored for developers who are familiar with and using the Visual Studio toolchain, e.g. HoloLens 2 developers.

These OpenXR samples use C++17 and D3D11. The same source code works across UWP applications running on HoloLens 2 and Win32 applications running on Windows Desktop with Windows Mixed Reality immersive headsets.

Prepare, build and run the samples

OpenXR preview extensions

The openxr_preview folder contains a set of preview header files containing the following OpenXR extensions that are only available in preview runtime.

  1. There's no additional preview extensions in latest preview runtime.

Please send feedback on preview extensions and samples at GitHub issues. We are planning to incorporate your feedback and finalize these extensions as vendor extensions (MSFT) or cross-vendor extensions (EXT) in the central Khronos OpenXR headers and spec over the coming months.

OpenXR samples and extension usages

OpenXR app best practices for HoloLens 2

The BasicXrApp demonstrates the best practices for an OpenXR app to achieve full frame rate and low latency.

For more detailed information on getting the best visual quality and performance on HoloLens 2, see the best practices for HoloLens 2.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.