Raylib-cs VS ImGui.NET

Compare Raylib-cs vs ImGui.NET and see what are their differences.

Raylib-cs

C# bindings for raylib, a simple and easy-to-use library to learn videogames programming (by ChrisDill)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Raylib-cs ImGui.NET
18 17
686 1,728
- 2.4%
8.0 6.7
16 days ago about 1 month ago
C# C#
zlib License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

Raylib-cs

Posts with mentions or reviews of Raylib-cs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-09.
  • How do I get started with Raylib?
    1 project | /r/raylib | 23 Jun 2023
  • How to add graphics
    4 projects | /r/csharp | 9 Jan 2023
    Glad I could help! Just one more disambiguation -- it's not built in. raylib is created by Ray/raysan5,and the C# bindings are created primarily by Chris Dill. Dill has packaged the bindings as a NuGet package, which you can add using the command line. The command downloads the package from the online repository and installs it.
  • Where to find more information on using languages beside c++?
    3 projects | /r/raylib | 29 Dec 2022
    Generally the respective Github pages for the binding would be a good starting point so for C# go here if you have not already https://github.com/ChrisDill/Raylib-cs
  • Need help with converting C++ to C#
    3 projects | /r/imgui | 6 Oct 2022
    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.
  • Simple 2D graphics framework for C#/Java
    3 projects | /r/csharp | 3 Sep 2022
    You can go with raylib: https://github.com/ChrisDill/Raylib-cs
  • If you were to start a new project that require OpenGL 3D graphics on C# What you will choose on 2022?
    2 projects | /r/csharp | 5 Aug 2022
    I've been using raylib-cs C# wrapper for raylib and have been quite happy with both. raylib is a relatively thin layer on top of OpenGL, especially if you use the rlgl functions.
  • Any official C# wrapper?
    2 projects | /r/raylib | 15 Jul 2022
    Not sure about "official", but I use raylib-cs and it works perfectly for me.
  • Help!
    2 projects | /r/csharp | 7 Jun 2022
    Raylib-cs is very easy to use: https://www.raylib.com/ https://github.com/ChrisDill/Raylib-cs It's a binding to the Raylib C library.
  • I made a space invaders game in C# using all of my absolute-beginner knowledge
    1 project | /r/csharp | 14 Mar 2022
    If you're looking to make simple games with C#, consider looking into MonoGame or Raylib-cs. OP's use of Windows Forms could prove hard to manage with a larger game project, but it is a pretty novel approach!
  • What are some good tutorials for making 2D games with C# in visual studio without a game engine?
    6 projects | /r/csharp | 10 Mar 2022
    If you find the structure of MonoGame too opaque or technical -- totally reasonable given that you're learning your way around -- check out Raylib-cs, a C# wrapper for the C games programming library raylib. It doesn't get much simpler.

ImGui.NET

Posts with mentions or reviews of ImGui.NET. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-01.
  • Using ImGui.NET with SDL2-CS?
    3 projects | /r/learncsharp | 1 Jun 2023
    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
    3 projects | /r/csharp | 4 Jan 2023
    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
    1 project | /r/monogame | 5 Nov 2022
    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#
    3 projects | /r/imgui | 6 Oct 2022
    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()
    2 projects | /r/monogame | 14 Sep 2022
    ImGui.NET 1.87.3 (using the example implementation)
  • ImGui::ImageButton with a MonoGame Texture2D
    2 projects | /r/monogame | 13 Sep 2022
    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?
    6 projects | /r/csharp | 6 May 2022
    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
    1 project | /r/csharp | 19 Apr 2022
  • Free UI frameworks for NET .Core 6 Winforms?
    2 projects | /r/csharp | 28 Mar 2022
  • does anyone have an imgui cs renderer with a working text input?
    2 projects | /r/csharp | 24 Mar 2022

What are some alternatives?

When comparing Raylib-cs and ImGui.NET you can also consider the following projects:

MonoGame - One framework for creating powerful cross-platform games.

Veldrid - A low-level, portable graphics library for .NET.

raylib - A simple and easy-to-use library to enjoy videogames programming

imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

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.

WaveFunctionCollapse - Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics

Monogame.ImGui - An ImGui.NET wrapper for Monogame

rlImGui-cs - A Raylib-cs integration with DearImGui

godot-3d-mannequin - An Open Source 3d character and character controller for the Godot game engine

SDL2-CS - SDL2# - C# Wrapper for SDL2

Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.