... | @@ -42,6 +42,6 @@ To compile an application for Monado, the platform to be used needs to be define |
... | @@ -42,6 +42,6 @@ To compile an application for Monado, the platform to be used needs to be define |
|
|
|
|
|
Applications do not link to OpenXR runtimes like Monado directly, instead applications link to the OpenXR loader. The OpenXR loader acts similar to the OpenCL or Vulkan loader: it is implemented as a shared library libopenxr_loader.so (or it can also be compiled into the application as a static library) which is responsible for finding and loading an OpenXR runtime like Monado and forwarding OpenXR API calls from the application to the runtime.
|
|
Applications do not link to OpenXR runtimes like Monado directly, instead applications link to the OpenXR loader. The OpenXR loader acts similar to the OpenCL or Vulkan loader: it is implemented as a shared library libopenxr_loader.so (or it can also be compiled into the application as a static library) which is responsible for finding and loading an OpenXR runtime like Monado and forwarding OpenXR API calls from the application to the runtime.
|
|
|
|
|
|
The OpenXR API is too extensive to quickly present. The full specification can be found [here](https://www.khronos.org/registry/OpenXR/specs/0.90/html/xrspec.html).
|
|
The OpenXR API is too extensive to quickly present. The full specification can be found [here](https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html).
|
|
|
|
|
|
[A simple C example application for Linux can be found here](https://gitlab.freedesktop.org/monado/openxr-simple-example). |
|
[A simple C example application for Linux can be found here](https://gitlab.freedesktop.org/monado/openxr-simple-example). |
|
|
|
\ No newline at end of file |