Use OpenXR (https://www.khronos.org/openxr) to handle VR and AR devices.
Use OpenXR (https://www.khronos.org/openxr) to handle VR and AR devices.