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.
- 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
You can install Hexa.NET.SDL via NuGet:
dotnet add package Hexa.NET.SDLOr via the NuGet Package Manager:
Install-Package Hexa.NET.SDL
Alternatively, you can visit the NuGet package page and follow the instructions there.
Check out the example projects to see Hexa.NET.SDL in action and learn how to use it in your own projects.
For detailed documentation on SDL functionality, please refer to the official SDL documentation.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to:
- Open an issue
- Submit a pull request
Hexa.NET.SDL is licensed under the MIT License. See the LICENSE file for more information.
- SDL: This project is a wrapper around the SDL library