cmbruns / pyopenxr

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

Create higher level api for extensions #70

Open cmbruns opened 2 years ago

cmbruns commented 2 years ago
  1. User calls create_instance with enabled_extensions=[a, b, c]
  2. Somehow magically the extension functions are available now as xr.SomeExtensionAFunction() with nice pythonic interface.
    • but not if the extension was not requested
    • and not if the extension was not successfully acquired
cmbruns commented 2 years ago

The magically appearing function should actually be called like instance_object.SomeExtensionAFunction() I think.