Raylib-CSharp is a fully managed binding over Raylib-5.5.
Discover the powerful features of our ✨new✨ Render Framework, Bliss.
Bliss is a modern rendering solution supporting:
- 🎮 Direct3D11
- 🌋 Vulkan
- 🖼️ OpenGL
- 🍎 Metal
- 📱 OpenGL-ES
Unlock advanced rendering capabilities with Bliss today!
🪙 Installation - Nuget
dotnet add package Raylib-CSharp --version 4.1.9
- Clone this repository.
- Add
Raylib-CSharp.csprojas a reference to your project.- Ensure that you integrate the
CMake.propsfile into your project setup to facilitate the building process for the .dlls.
- Using
OpenGL-4.3
- Using
OpenGL-4.3
- Using
OpenGL-3.3
📖 Differences from Raylib-cs
| Raylib-cs | Raylib-CSharp |
|---|---|
One Binding Class (Raylib.cs). |
Managed Classes like Window, Music.... |
Uses DllImport and makes using pointers required in some cases. |
Uses LibraryImport and using pointers is optional. |
Using one Namespace. |
Using multiple Namespaces! |
| .NET 5.0, 6.0 / C# 10 | .NET 8.0 / C# 12 |
| Released 2018-07 | Released 2024-05 |
| License ZLib | License MIT |
| Raylib 5.0 | Raylib 5.1-dev |
This library is available under the MIT license.






