pyopenxr
pyopenxr copied to clipboard
how to edit the created session resolution?
hey how can i edit or create a session more dynamicaly? here i mean the rendeering resolution and refresh rate.
I'm not sure how to set the refresh rate in OpenXR. I think there are a couple of vendor specific extensions you could used to adjust the refresh rate if you have the right hardware. The rendering resolution is set during the setup of swapchains, in the width and height fields of xr.SwapchainCreateInfo(...)
XR_FB_display_refresh_rate seems to be common extension for querying and setting refresh rate.