pyopenxr icon indicating copy to clipboard operation
pyopenxr copied to clipboard

how to edit the created session resolution?

Open blenderman94 opened this issue 1 year ago • 2 comments

hey how can i edit or create a session more dynamicaly? here i mean the rendeering resolution and refresh rate.

blenderman94 avatar Jul 04 '24 18:07 blenderman94

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(...)

cmbruns avatar Jul 28 '25 16:07 cmbruns

XR_FB_display_refresh_rate seems to be common extension for querying and setting refresh rate.

kwahoo2 avatar Jul 30 '25 16:07 kwahoo2