Questions tagged [imgui]

imgui stands for "Immediate mode GUI", which is a GUI where the event processing is directly controlled by the user.

Related links:

Implementations:

264 questions
1
vote
0 answers

Display image in Imgui vulkan

I'm new to Imgui and Vulkan and I'm trying to display an image captured from a webcam using OpenCV. Imgui documentation states that I should: Load the raw decompressed RGBA image from RAM into a GPU texture. You'll want to use dedicated functions…
davdsb
  • 101
  • 1
  • 10
1
vote
0 answers

java awt per pixel renderer porting to imgui

I've recently been working on a java awt application, it started out as a very simple render testing demo but has sort of cascaded and so to make my life easier I have decided to switch to imgui (with an lwjgl backend). I have never used lwjgl but I…
1
vote
1 answer

How do I prevent clicking background when I click the IMGUI button

How do I prevent clicking background when I click the IMGUI button (e.g. I click the translate button and also click the background)
薛潇宇
  • 31
  • 3
1
vote
0 answers

ImGuizmo, rendered widget but it won;t respond

I am trying to integrate imguizmo into a project. I am able to render the guizmo like this: However when I hover over the arrows, they don;t get highlighted and I don't get any type of response, I have tried all the methods listed in the readme…
Makogan
  • 8,208
  • 7
  • 44
  • 112
1
vote
2 answers

How do I reset the GLFW Fragment / Load a different shader during runtime?

I'm writing a shadertoy-like tool for the desktop. It uses GLFW (OpenGL), Glad, and ImGui to render out images. I've gotten to a point now where I fixed all my previous issues, but I'm now stuck on one particular problem that's been plaguing me the…
1
vote
1 answer

How to open a webpage in ImGui

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 "https://google.com". I thought that ImGui::OpenPopup…
1
vote
1 answer

GLUT not drawing shapes when ImGUI in use

I'm using Windows 10, visual studio 2022. Backends: imgui_impl_glut.cpp and imgui_impl_opengl3.cpp For now, i'm simply trying to get freeGLUT and ImGUI to work together properly. The problem is that when I create a window with ImGUI, it doesn't show…
1
vote
1 answer

Draw end position get Item rect size

I'm trying to use ImGui (Java bindings) to fill up a empty space or fill the entire width of some UI but I can't seem to figure out how to/when to ask ImGui for the Item Rect Max and in some situations I end up with a small space that isn't filled…
1
vote
1 answer

Can't compile SFML + ImGui using GCC

Since I started learning SFML, I found a lot hard to include libraries in CPP. The two easiest ways I found was configuring Visual Studio like the tutorial, or configuring CMake with CLion. But I don't like Visual Studio, CLion is really heavy on…
1
vote
0 answers

ImGUI: How to get draw-call count

To issue ImGUI draw commands, the code is something like this: ImDrawData* imDrawData = ImGui::GetDrawData(); for (int32_t i = 0; i < imDrawData->CmdListsCount; i++) { const ImDrawList* cmdList = imDrawData->CmdLists[i]; for…
Vulkanoid
  • 79
  • 4
1
vote
1 answer

How to load ImGui image from byte array with opengl?

I am trying to render an image in my c++ ImGui menu; I believe the end code would be something like ImGui::Image(ImTextureID, ImVec2(X, Y));. I already have a byte array that includes the image I want to render, but don't know how to go about…
Nathan W
  • 13
  • 1
  • 3
1
vote
2 answers

ImGui without Window?

Is it possible to create an ImGui screen without a background or window? It would just be the ImGui window that can be dragged across the screen. It would looks something like this, but instead of a blue background, you'd just see the application…
Sleepi
  • 13
  • 1
  • 3
1
vote
0 answers

Resizable child "ImGui"

I'm having a problem with my project where I can't get my ImGui::Beginchild to be resizable like ImGui::Begin() I found other ways to do this but it was not to my liking: https://github.com/ocornut/imgui/issues/319 EXAMPLE CODE…
ZeroCool
  • 11
  • 1
  • 2
1
vote
0 answers

ImGui errors : undefined reference to `ImmGetContext'

I am doing Imgui setup on DevC++. I took all the header and CPP files in imGui and added them to my Dev c++ project. Assigned the path to find them in the include directories. When I try to compile i am getting following errors: undefined reference…
1
vote
0 answers

Displaying Dear ImGui in different windows

I'd like to render Dear ImGui elements to two differents glfw windows. I have this sample code from here: #include int main(void) { GLFWwindow* window1; GLFWwindow* window2; /* Initialize the library */ if…
Uytab
  • 85
  • 1
  • 7