summaryrefslogtreecommitdiffstats
path: root/modules/openxr/openxr_api.h
diff options
context:
space:
mode:
authorMalcolm Nixon <Malcolm.nixon@gmail.com>2023-02-18 10:50:55 -0500
committerMalcolm Nixon <Malcolm.nixon@gmail.com>2023-02-18 10:58:06 -0500
commitd91e75b6f77d61967a3a9e13406b2f0e35eb60c1 (patch)
treec31e9bf42a6f1328d5aff2d5560585d8647e0dc4 /modules/openxr/openxr_api.h
parent1f4f73f8602f61ef43d3dc0b99bedd1614e48283 (diff)
downloadredot-engine-d91e75b6f77d61967a3a9e13406b2f0e35eb60c1.tar.gz
Added render target size multiplier option.
Fix formatting
Diffstat (limited to 'modules/openxr/openxr_api.h')
-rw-r--r--modules/openxr/openxr_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/openxr/openxr_api.h b/modules/openxr/openxr_api.h
index 8c642c4ff4..8a8fa7e854 100644
--- a/modules/openxr/openxr_api.h
+++ b/modules/openxr/openxr_api.h
@@ -116,6 +116,7 @@ private:
XrSessionState session_state = XR_SESSION_STATE_UNKNOWN;
bool running = false;
XrFrameState frame_state = { XR_TYPE_FRAME_STATE, NULL, 0, 0, false };
+ double render_target_size_multiplier = 1.0;
OpenXRGraphicsExtensionWrapper *graphics_extension = nullptr;
XrSystemGraphicsProperties graphics_properties;
@@ -362,6 +363,10 @@ public:
void set_display_refresh_rate(float p_refresh_rate);
Array get_available_display_refresh_rates() const;
+ // Render Target size multiplier
+ double get_render_target_size_multiplier() const;
+ void set_render_target_size_multiplier(double multiplier);
+
// action map
String get_default_action_map_resource_name();