Hexa.NET.SDL2
1.2.17
Prefix Reserved
dotnet add package Hexa.NET.SDL2 --version 1.2.17
NuGet\Install-Package Hexa.NET.SDL2 -Version 1.2.17
<PackageReference Include="Hexa.NET.SDL2" Version="1.2.17" />
<PackageVersion Include="Hexa.NET.SDL2" Version="1.2.17" />
<PackageReference Include="Hexa.NET.SDL2" />
paket add Hexa.NET.SDL2 --version 1.2.17
#r "nuget: Hexa.NET.SDL2, 1.2.17"
#:package Hexa.NET.SDL2@1.2.17
#addin nuget:?package=Hexa.NET.SDL2&version=1.2.17
#tool nuget:?package=Hexa.NET.SDL2&version=1.2.17
Hexa.NET.SDL
<p align="center"> <img width="300" height="300" src="https://raw.githubusercontent.com/HexaEngine/HexaEngine/master/icon.png"> </p>
Hexa.NET.SDL is a minimal C# wrapper for the SDL library, providing a thin, 1:1 binding to SDL's C functions. This wrapper is designed for developers who need direct access to the SDL library's functionality from C#, without added complexity or overhead.
🚀 Features
- Minimal Wrapper: Provides a direct, 1:1 mapping to the SDL C functions, staying true to the original API
- Cross-Platform Compatibility: Works across all platforms supported by SDL, including Windows, Linux, and macOS
- Pre-Built Native Libraries: The package includes pre-built native libraries, so you don't need to worry about installing SDL separately
- Multi-Target Support: Compatible with .NET 6, .NET 7, .NET 8, .NET 9, .NET 10, .NET Standard 2.0, and .NET Standard 2.1
📦 Installation
You can install Hexa.NET.SDL via NuGet:
dotnet add package Hexa.NET.SDL
Or via the NuGet Package Manager:
Install-Package Hexa.NET.SDL
Alternatively, you can visit the NuGet package page and follow the instructions there.
🔨 Usage
Check out the example projects to see Hexa.NET.SDL in action and learn how to use it in your own projects.
📚 Documentation
For detailed documentation on SDL functionality, please refer to the official SDL documentation.
🤝 Contributing
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to:
- Open an issue
- Submit a pull request
📄 License
Hexa.NET.SDL is licensed under the MIT License. See the LICENSE file for more information.
🙏 Credits
- SDL: This project is a wrapper around the SDL library
<div align="center" id="sponsor-section">
Thanks to our sponsors!
</div>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- HexaGen.Runtime (>= 1.1.24)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
-
.NETStandard 2.1
- HexaGen.Runtime (>= 1.1.24)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
-
net10.0
- HexaGen.Runtime (>= 1.1.24)
-
net6.0
- HexaGen.Runtime (>= 1.1.24)
-
net7.0
- HexaGen.Runtime (>= 1.1.24)
-
net8.0
- HexaGen.Runtime (>= 1.1.24)
-
net9.0
- HexaGen.Runtime (>= 1.1.24)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Hexa.NET.SDL2:
| Package | Downloads |
|---|---|
|
Hexa.NET.SDL2.Image
A .NET Wrapper for SDL2 Image (v 2.8.8), generated with the HexaGen code generator. HexaGen allows users to access native libraries easily and with high performance. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Hexa.NET.SDL2:
| Repository | Stars |
|---|---|
|
HexaEngine/Hexa.NET.ImGui
A .NET wrapper for the Dear ImGui.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.17 | 99 | 1/28/2026 |
| 1.2.16 | 384 | 5/7/2025 |
| 1.2.15 | 196 | 5/5/2025 |
| 1.2.14 | 389 | 4/4/2025 |
| 1.2.13 | 332 | 3/3/2025 |
| 1.2.12 | 235 | 2/16/2025 |
| 1.2.11 | 358 | 2/9/2025 |
| 1.2.10 | 411 | 12/10/2024 |
| 1.2.9 | 244 | 12/8/2024 |
| 1.2.8 | 722 | 11/13/2024 |
| 1.2.7 | 339 | 10/31/2024 |
| 1.2.6 | 318 | 10/20/2024 |
| 1.2.5 | 252 | 10/20/2024 |
| 1.2.4 | 420 | 8/21/2024 |
| 1.2.3 | 245 | 8/21/2024 |
| 1.2.2 | 199 | 8/19/2024 |
| 1.2.1 | 331 | 8/13/2024 |
| 1.2.0 | 222 | 7/28/2024 |
| 1.1.0 | 257 | 7/13/2024 |
| 1.0.4-alpha | 157 | 7/13/2024 |
| 1.0.3-alpha | 196 | 7/13/2024 |
| 1.0.2-alpha | 185 | 7/13/2024 |
| 1.0.1-alpha | 165 | 7/11/2024 |
| 1.0.0-alpha | 179 | 7/8/2024 |