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
I've been using ImGuiNET for my project and it seems to work perfectly, except for when I attempt to show any kind of image. My code is a complete mess since I'm still experimenting, but the following piece of code produces the window attached after it
var foo = true;
if (ImGui.Begin("Font", ref foo, 0))
{
var io = ImGui.GetIO();
if (io != null)
{
var texID = io.Fonts.TexID;
var texW = io.Fonts.TexWidth;
var texH = io.Fonts.TexHeight;
ImGui.Text("FontTex");
igNET.ImGui.Image(texID, new Vector2(texW, texH), new Vector2(0.0f, 0.0f), new Vector2(1.0f, 1.0f), new Vector4(1.0f, 1.0f, 1.0f, 1.0f));
}
}
I assumed this was an issue with my rendering pipeline, but as you can see in the following screenshot, the Dear ImGui debugger (which is called from the same function as the previous snippet) has no problem rendering it.
What could be causing this issue? Is there any more information I can provide that could help narrow the issue down?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello!
I've been using ImGuiNET for my project and it seems to work perfectly, except for when I attempt to show any kind of image. My code is a complete mess since I'm still experimenting, but the following piece of code produces the window attached after it
I assumed this was an issue with my rendering pipeline, but as you can see in the following screenshot, the Dear ImGui debugger (which is called from the same function as the previous snippet) has no problem rendering it.
What could be causing this issue? Is there any more information I can provide that could help narrow the issue down?
Thanks in advance
The text was updated successfully, but these errors were encountered: