Adding support for the OpenXR Display Refresh Rate extension

This commit is contained in:
Bastiaan Olij
2022-10-10 18:51:53 +11:00
parent ca25c6e0a3
commit e14717bb2e
8 changed files with 280 additions and 0 deletions

View File

@@ -10,6 +10,19 @@
<tutorials>
<link title="Setting up XR">$DOCS_URL/tutorials/xr/setting_up_xr.html</link>
</tutorials>
<methods>
<method name="get_available_display_refresh_rates" qualifiers="const">
<return type="Array" />
<description>
Returns display refresh rates supported by the current HMD. Only returned if this feature is supported by the OpenXR runtime and after the interface has been initialized.
</description>
</method>
</methods>
<members>
<member name="display_refresh_rate" type="float" setter="set_display_refresh_rate" getter="get_display_refresh_rate" default="0.0">
The display refresh rate for the current HMD. Only functional if this feature is supported by the OpenXR runtime and after the interface has been initialized.
</member>
</members>
<signals>
<signal name="pose_recentered">
<description>