Hexa.NET.SDL is a minimal C# wrapper for the SDL2 & 3 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, Android, and macOS.
- Pre-Built Native Libraries: The package includes pre-built native libraries, so you don't need to worry about installing SDL separately.
You can install Hexa.NET.SDL2 via NuGet:
dotnet add package Hexa.NET.SDL2
And Hexa.NET.SDL3 via NuGet:
dotnet add package Hexa.NET.SDL3
Alternatively, you can visit the SDL2/SDL3 and follow the instructions there.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
Hexa.NET.SDL is licensed under the MIT License. See the LICENSE file for more information.