Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
3D engines like Unity or Unreal aren't the only Mixed Reality development paths open to you. You can also create Mixed Reality apps using the Windows Mixed Reality APIs with DirectX 11 or DirectX 12. By going to the platform source, you're essentially building your own middleware or framework.
Important
If you have an existing WinRT project that you'd like to maintain, head over to our main WinRT documentation.
Use the following checkpoints to bring your Unity games and applications into the world of mixed reality.
Windows Mixed Reality supports two kinds of apps:
The differences between DirectX development for 2D views and immersive views primarily concern holographic rendering and spatial input. Your UWP application's IFrameworkView or your Win32 application's HWND are required and remain largely the same. The same is true for the WinRT APIs that are available to your app. But you must use a different subset of these APIs to take advantage of holographic features. For example, the system for holographic applications manages the swapchain and frame present to enable a pose-predicted frame loop.
Checkpoint | Outcome |
---|---|
What is OpenXR? | Begin your native development journey by getting acquainted with OpenXR and what it has to offer |
Install the latest tools | Download and install the latest native development tools |
Set up for HoloLens 2 | Configure your device and environment for HoloLens 2 development |
Set up for immersive headsets | Configure your device and environment for Windows Mixed Reality development |
Try a sample app | Explore a UWP and Win32 version of the same basic OpenXR app on your device |
Take a tour of the OpenXR API | Watch a 60-minute walkthrough video that tours all key components of the OpenXR API in Visual Studio |
Add the OpenXR loader | Add the OpenXR loader to an existing native project to get started developing |
Windows Mixed Reality applications use the following APIs to build mixed-reality experiences for HoloLens and other immersive headsets:
Feature | Capability |
---|---|
Gaze | Let users target holograms with by looking at them |
Gesture | Add spatial actions to your apps |
Holographic rendering | Draw a hologram at a precise location in the world around your users |
Motion controller | Let your users take action in your Mixed Reality environments |
Spatial mapping | Map your physical space with a virtual mesh overlay to mark the boundaries of your environment |
Voice | Capture spoken keywords, phrases, and dictation from your users |
Note
You can find upcoming and in-development core features in the OpenXR roadmap documentation.
You can develop on a desktop using OpenXR on a HoloLens 2 or Windows Mixed Reality immersive headset. If you don't have access to a headset, you can use the HoloLens 2 Emulator or the Windows Mixed Reality Simulator instead.
A developer's job is never done, especially when learning a new tool or SDK. The following sections can take you into areas beyond the beginner level material you've already completed. These topics and resources aren't in any sequential order, so feel free to jump around and explore!
If you're looking to level up your OpenXR game, check out the links below:
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayTraining
Learning path
HoloLens 2 fundamentals: develop mixed reality applications - Training
Learn about the best practices for developing Azure-enabled mixed reality applications with the Mixed Reality Toolkit.
Certification
Microsoft Certified: Azure Developer Associate - Certifications
Build end-to-end solutions in Microsoft Azure to create Azure Functions, implement and manage web apps, develop solutions utilizing Azure storage, and more.