{"repo":"enkisoftware/RCCpp-DearImGui-GLFW-example","free":true,"listed":false,"github":"https://github.com/enkisoftware/RCCpp-DearImGui-GLFW-example","clone":"git clone https://github.com/enkisoftware/RCCpp-DearImGui-GLFW-example.git","description":"Add Runtime Compiled C++ to the Dear ImGui example using the GLFW and OpenGL backend - with power saving","language":"C++","stars":100,"topics":["runtimecompiledcplusplus","rccpp","compile","live-coding","glfw","cmake","cpp","c-plus-plus","opengl","windows"],"license":"Zlib","category":"game-templates","readme_excerpt":"Support our work through GitHub Sponsors or Patreon RCC++ Dear ImGui GLFW example with Power Saving This project adds Runtime Compiled C++ to the Dear ImGui example using the GLFW and OpenGL backend. This enables us to edit the code at runtime and see the results live, without recompiling and restarting the project. This is a cross platform project using CMake. Runtime-Compiled C++ (RCC++) is a way to reliably make major changes to C++ code at runtime and see the results immediately. It's aimed at games development but could be useful in any industry where turnaround times are a bottleneck. github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus RCC++ is primarily designed to shorten iteration times in development - developers can build their project, run it, make changes during runtime and see the results in a few seconds. Note - you can also find a similar Windows-only example in the devlog post Runtime Compiled C++ Dear ImGui and DirectX11 Tutorial. Power Saving To reduce the energy used by Dear Imgui, the application draws the user interface only when there is user input. Example power saving code in commit The implementation consists in switching the event handling from polling to waiting for events. A power save variable counts a predefined number of frames after the last input has been received. When the countdown ends the application waits for further events, therefore saving power. If input is received the countdown is reset. This allows the GUI to display input","default_branch":null,"files":null,"tree":[],"storefront":"/r/enkisoftware","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/enkisoftware/RCCpp-DearImGui-GLFW-example/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}