cmbruns / pyopenxr

Unofficial python bindings for OpenXR access to VR and AR devices
Apache License 2.0
103 stars 8 forks source link

Create a system for invoking the situation dependent graphics system and window system declarations #26

Closed cmbruns closed 2 years ago

cmbruns commented 2 years ago

like XR_USE_GRAPHICS_API_OPENGL and XR_USE_PLATFORM_WIN32 etc.

cmbruns commented 2 years ago

The compile flags used on my windows computer for the OpenXR SDK may help us coax clang into segregating the windows specific parts of the API. The following definitions from the openxr loader compile line might be relevant:

These defines do not change when I select/deselect build all extensions.