GodotVR / godot_openxr_vendors

Godot 4 wrapper for OpenXR vendors loaders and extensions
MIT License
83 stars 17 forks source link

Make OpenXR vendor extension headers available to all #87

Open maunvz opened 5 months ago

maunvz commented 5 months ago

OpenXR extensions are designed to be fully optional, and for one binary to run on many systems using two runtime mechanisms:

As such it's safe to include the full collection of extension headers for all different versions of these libraries without preprocessor macros because the extension would fail to load at runtime and the plugin must handle that.

For now this means the exact same source can compile for all platforms. It would be nice to make it a single library but since we're linking against different loaders we can't quite do that yet (until everyone supports the khronos loader).

maunvz commented 5 months ago

converting to draft given two issues: