Skip to content

Commit 4bd80b9

Browse files
committed
Add ImGui demo window to rendering loop
Introduced a call to `ImGui.ShowDemoWindow()` within the rendering loop to display the Dear ImGui demo window. This provides a showcase of various UI elements and features available in the library. The change is likely intended for debugging, learning, or demonstrating ImGui capabilities. The rest of the rendering process remains unchanged.
1 parent 191df75 commit 4bd80b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Examples/ExampleGLFWOpenGL3/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@
9999
ImGuiImplGLFW.NewFrame();
100100
ImGui.NewFrame();
101101

102+
ImGui.ShowDemoWindow();
103+
102104
ImGui.Render();
103105

104106
GLFW.MakeContextCurrent(window);

0 commit comments

Comments
 (0)