Add toggle action for plots

This commit is contained in:
Patrick Nicolas
2024-06-10 11:55:18 +02:00
parent 00671dbb94
commit 0f77142b9d
4 changed files with 80 additions and 13 deletions
+3
View File
@@ -111,6 +111,9 @@ private:
std::optional<audio> audio_handle;
std::optional<imgui_context> imgui_ctx;
bool plots_visible = true;
XrAction plots_toggle_1 = XR_NULL_HANDLE;
XrAction plots_toggle_2 = XR_NULL_HANDLE;
// Keep a reference to the resources needed to blit the images until vkWaitForFences
std::vector<std::shared_ptr<shard_accumulator::blit_handle>> current_blit_handles;