1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

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

@@ -336,6 +336,11 @@ public:
void post_draw_viewport(RID p_render_target);
void end_frame();
// Display refresh rate
float get_display_refresh_rate() const;
void set_display_refresh_rate(float p_refresh_rate);
Array get_available_display_refresh_rates() const;
// action map
String get_default_action_map_resource_name();