Support creating OpenXRSessionHandles in Python#81
Conversation
|
What is the use case? |
That's for the OpenXR session sharing with Kit @nvddr I thought we had this already, but probably only in a private branch that I had... |
Looks like a hack honestly. But if Kit operates raw handles in python this way I suppose we don't have a better choice? |
This would be the case where you want to do session sharing and pass the handle to deviceio in python. IsaacLab has much of it's code in python so that is how we would operate on deviceio |
I don't think we had a way to take raw ints and create openxr session handles, likely an oversight. We had ways to get the "openxrsessionhandles" from c++ code directly, and share it with another session we create, but not from a "true" external session that just gave raw handles. |
|
Indeed an oversight. I had it a a PR from 3 months ago, never checked it in... |
Support creating OpenXRSessionHandles in Python.
Also, add querying of proc_addr from handles in Python.