You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New to ImGUI. How can I switch rendering engines? #529
Hi! I started C# recently to learn, and I wanted to make something with ImGui.
I'm using ClickableTransparentOverlay because that's the only thing working right now. I it works (mostly)
it just gets cut off at halfway on my screen.
Anyways, I have the following code:
usingImGuiNET;usingClickableTransparentOverlay;namespaceImGUISandbox;classImGUISandbox{classProgram:Overlay{protectedoverridevoidRender(){ImGui.Begin("The Window");ImGui.Text("Some Text Here");ImGui.End();}}publicstaticvoidMain(string[]args){Programprogram=newProgram();program.Start().Wait();}}
I do have these packages installed:
How can I change to using Veldrid instead? I want it to act as a normal window.
Using NET 9.0 as well
Any help is greatly appreciated
I'm actually new to this, too, and wasn't originally planning to reply, but I noticed the sample project had references to Veldrid. You may want to start there?
@wolfieboy09 Sorry to keep you waiting so long on this issue. If you want to continue to use ClickableTransparentOverlay, the solution is to pass your screen size when you inherit from Overlay.
Using your example, and my screen size of 2560x1440 this looks like this:
usingImGuiNET;usingClickableTransparentOverlay;namespaceImGUISandbox;classImGUISandbox{classProgram:Overlay(2560,1440){protectedoverridevoidRender(){ImGui.Begin("The Window");ImGui.Text("Some Text Here");ImGui.End();}}publicstaticvoidMain(string[]args){Programprogram=newProgram();program.Start().Wait();}}
I have not delved into the internals of Overlay, but it seems to either incorrectly get the screen size by default, or it defaults to something like 1920x1080, which is a lower resolution than my current screen.
Activity
QuinnCG commentedon Sep 19, 2025
Hi,
I'm actually new to this, too, and wasn't originally planning to reply, but I noticed the sample project had references to Veldrid. You may want to start there?
https://github.com/ImGuiNET/ImGui.NET/blob/master/src/ImGui.NET.SampleProgram/ImGuiController.cs
The comments suggest this is an implementation for Veldrid.
Sorry, I couldn't be more help.
ReifStanfield commentedon Dec 13, 2025
@wolfieboy09 Sorry to keep you waiting so long on this issue. If you want to continue to use ClickableTransparentOverlay, the solution is to pass your screen size when you inherit from Overlay.
Using your example, and my screen size of 2560x1440 this looks like this:
I have not delved into the internals of Overlay, but it seems to either incorrectly get the screen size by default, or it defaults to something like 1920x1080, which is a lower resolution than my current screen.
Hope this helps.