Veldrid
ImGui.NET
Our great sponsors
Veldrid | ImGui.NET | |
---|---|---|
12 | 17 | |
2,398 | 1,722 | |
1.2% | 2.0% | |
5.7 | 6.7 | |
5 days ago | 28 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Veldrid
-
Is there a real time graphics llibrary in c#
I'd recommend Veldrid
-
Question: How to create OpenGL C# Bindings from scratch? (Bear with me please...)
So, for example, Veldrid, a low cross-platform graphics API-agnostic rendering and compute library for .NET, has its own bindings to provide different graphics backends. How were those created? Is it a completely manual process? are tools available? How are those maintained?
-
I need something like Pygame + PyOpenGL or LWJGL, but for C#/.NET
https://github.com/mellinoe/veldrid and https://github.com/dotnet/Silk.NET are nice wrappers around several graphic apis
-
C# voxel dev for mac & windows?
Check out Veldrid.
-
Game engine for programmars
Veldrid is a lower level engine that abstracts away a bunch of backends for you. Youll have to build your own pieces on top.
-
What graphic frameworks you recommend?
Also noteworthy: Veldrid
-
Is modern C# a good choice for writing a Vulkan engine?
in addition to what everyone has said already, take a look at https://github.com/mellinoe/veldrid
-
Custome game engine: what stack ?
Veldrid for graphics although I think SILK.net would also work well.
-
Efficient, cross-platform graphics library?
If you’re interested in C#, You could look into Veldrid. It is 3D however, so im not sure how easy it is to do 2D with it. ImGui.NET is a set of .NET bindings for Dear ImGui, which is one of the best immediate mode gui librarys out there imo. It has a canvas feature which allows you to draw 2D shapes via the gui renderer. Also, the creator of Veldrid and ImGui.NET has an example project for ImGui.NET using veldrid..
-
XNA vs FNA vs Monogame
Veldrid attempts to wrap several graphics api, directx11, metal, opengl, and vulkan. You would have to write most things from scratch but this lib will work cross platform. Probably not consoles though.
ImGui.NET
-
Using ImGui.NET with SDL2-CS?
Now I'm trying to integrate ImGui into the engine. One solution I found was using this but as far as I can tell it locks you into using OpenGL which is something I would like to avoid as one of the main selling points of SDL2 for me is it's abstraction over the rendering backend.
-
c# native with a gui
In additiona to imgui wrapper which works great with NativeAOT, only slight nudge and you have 10Mb executable. With all deps it's 13Mb. Also there Avalonia mentioned in sibling message which work great and in 11.0-preview5 probably would not need any additional configuraiton. In case if OP is have soft spot for web tech, he can use photino.Blazor which also with slight modifications would simply works and produce 27Mb executable.
-
Custom geometry gets rendered on top of Imgui
Imgui gets rendered using ImguiRenderer provided here in the example: https://github.com/mellinoe/ImGui.NET/tree/master/src/ImGui.NET.SampleProgram.XNA
-
Need help with converting C++ to C#
I'm converting rlImGui from C++ to C# so I can use it with ImGui.NET and Raylib-cs but I'm getting stuck at a couple places. I don't know how to convert line 331 to C# since in ImGui.NET cmd.UserCallback is an IntPtr and not something I can call. I did a quick google search and you can use the Marshal library to convert it to a callable delegate but I think you need to also have the delegate known to do that. There's also line 82 but that is specific to Raylib. The function it calls does not seem to be included in Raylib-cs. Also, rlImGui keeps using a Texture type but that is not defined in Raylib-cs or ImGui.NET. I assume I can substitute it with Texture2D from Raylib-cs but I'm not to the point in porting to see if Texture2D has the necessary fields/properties/methods.
-
Strange ImGui issue possibly related to ImGui.PushID()
ImGui.NET 1.87.3 (using the example implementation)
-
ImGui::ImageButton with a MonoGame Texture2D
If you use this example implementation for XNA/MonoGame, you can just use ImGuiRenderer.BindTexture() which returns an IntPtr.
-
Are there any low-level library options for creating desktop apps?
The only thing I could really think of is something like ImGui for C# (https://github.com/mellinoe/ImGui.NET) but I've never used it. It's going to give you some simple wrappers around ImGui (https://github.com/ocornut/imgui) but even this is going to lock you into the UI framework -- you can't just "draw a rectangle" per se and use it as a "control." Do note however this is an "immediate mode" GUI which is different from how most general desktop windowing systems work in "retained mode" (which are typically event driven, which saves on computing power to not draw the same stuff over and over).
- WinForms
- Free UI frameworks for NET .Core 6 Winforms?
- does anyone have an imgui cs renderer with a working text input?
What are some alternatives?
Silk.NET - The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
OpenTK - The Open Toolkit library is a fast, low-level C# wrapper for OpenGL, OpenAL & OpenCL. It also includes windowing, mouse, keyboard and joystick input and a robust and fast math library, giving you everything you need to write your own renderer or game engine. OpenTK can be used standalone or inside a GUI on Windows, Linux, Mac.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
The-Forge - The Forge Cross-Platform Rendering Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
Monogame.ImGui - An ImGui.NET wrapper for Monogame
Win2D - Win2D is an easy-to-use Windows Runtime API for immediate mode 2D graphics rendering with GPU acceleration. It is available to C#, C++ and VB developers writing apps for the Windows Universal Platform (UWP). It utilizes the power of Direct2D, and integrates seamlessly with XAML and CoreWindow.
godot-3d-mannequin - An Open Source 3d character and character controller for the Godot game engine
Helix Toolkit - Helix Toolkit is a collection of 3D components for .NET.
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
ImageSharp - :camera: A modern, cross-platform, 2D Graphics library for .NET