About 177,000 results
Open links in new tab
  1. imgui - If checkbox is checked, output text in Console Application …

    Jul 15, 2022 · How can I output some text if checkbox is checked without having unlimited outputs? I'm using C++ ImGui for my project. So when checkbox in ImGui menu is checked, it should output some text in cons...

  2. c++ - IMGUI High GPU usage - Stack Overflow

    May 7, 2025 · I just downloaded the imgui tests folder to make a small app. Results are weird (in my opinion) 15%+ of GPU usage. (DX9 / DX11 tested) So I downed the FPS to 60 for a quick test : 7/8%.

  3. Why Dear ImGui based renderer is so slow? - Stack Overflow

    Aug 3, 2018 · I have done class which render 2d objects based on Dear ImGui DrawList, because it can draw many different variants of objects thanks index vector dynamic array and still stay well optimized. Dear ...

  4. How to open a webpage in ImGui - Stack Overflow

    Apr 1, 2022 · I've looked everywhere, and I can't seem to find the solution to my problem. I am wanting to know how I could use imgui to open a popup window and opening a chrome window with a website like "...

  5. Using std::string in ImGui::InputText (...) - Stack Overflow

    Sep 3, 2021 · If you want to use InputText() with std::string or any custom dynamic string type, see misc/cpp/imgui_stdlib.h and comments in imgui_demo.cpp. misc/cpp/imgui_stdlib.h namespace ImGui { // ImGui::InputText() with std::string // Because text input needs dynamic resizing, we need to setup a callback to grow the capacity IMGUI_API bool InputText(const …

  6. Change default Dear ImGui widget width - Stack Overflow

    Nov 9, 2024 · The Dear ImGui default widget width (combo, inputtext, etc.) is too wide for my liking. I'd like to change the default width of these widgets once at application start-up, or maybe every time in the frame-loop.

  7. Implicit vector conversion in ImGui (ImVec <--> glm::vec)

    Sep 4, 2022 · I am trying to get the implicit conversion between ImGui's (ImVec) and glm's (glm::vec) vector types working. In here I read, that I have to change the following lines in the imconfig.h file:

  8. Resizing window(framebuffer) without stretching the rendered …

    Jun 21, 2022 · Im trying to retain the ratio and sizes of the rendered content when resizing my window/framebuffer texture on which im rendering exclusively on the xy-plane (z=0) and would like to have an orthogr...

  9. imgui - How to center align text horizontally? - Stack Overflow

    Nov 2, 2020 · 11 I am creating a text in ImGui. It automatically aligns right, how do I make just that one text align in the center? ImGui::Text("Example Text"); I don't believe there is a function to do this. I know you can do it for a box or widget, but how would I for a simple text?

  10. How to correctly handle Window resizing when using ImGui?

    I am using ImGui with the aim of creating a Windows Application. One thing I have noticed and is troubling me a lot is when resizing the Window, it doesn't update the contents (buffers?) correctly,...