`next` parameter in `SessionCreateInfo`
yshui opened this issue · 4 comments
The next
is needed for passing, for example, XrSessionCreateInfoOverlayEXTX
to create_session
for extensions like XR_EXTX_overlay
. Right now there is no way of setting it.
openxrs/openxr/src/graphics/vulkan.rs
Line 51 in 8fd7155
The intention is that, if you need something not expressed in the safe API, you invoke the raw function pointers yourself via e.g. Instance::fp
. Contributions of safe bindings are welcome, but it might be a bit premature to do that for an EXTX extension.
but create_session
is already unsafe API...
yeah i can do it with the sys crate, it's just inconvenient.
but create_session is already unsafe API...
True, but I'd rather not make it even less safe.
yeah i can do it with the sys crate, it's just inconvenient.
It shouldn't require much more code.