https://github.com/hexaengine/hexa.net.sdl
A C# wrapper for SDL2
https://github.com/hexaengine/hexa.net.sdl
csharp dotnet native sdl2 wrapper
Last synced: 8 months ago
JSON representation
A C# wrapper for SDL2
- Host: GitHub
- URL: https://github.com/hexaengine/hexa.net.sdl
- Owner: HexaEngine
- License: mit
- Created: 2024-08-14T15:32:55.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-05-06T15:38:23.000Z (about 1 year ago)
- Last Synced: 2025-05-07T03:04:32.181Z (about 1 year ago)
- Topics: csharp, dotnet, native, sdl2, wrapper
- Language: C#
- Homepage:
- Size: 105 MB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Hexa.NET.SDL
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.
## 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, 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.
## Installation
You can install Hexa.NET.SDL2 via NuGet:
```bash
dotnet add package Hexa.NET.SDL2
```
And Hexa.NET.SDL3 via NuGet:
```bash
dotnet add package Hexa.NET.SDL3
```
Alternatively, you can visit the [SDL2](https://www.nuget.org/packages/Hexa.NET.SDL2)/[SDL3](https://www.nuget.org/packages/Hexa.NET.SDL3) and follow the instructions there.
## Contributing
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
## License
Hexa.NET.SDL is licensed under the MIT License. See the [LICENSE](https://github.com/HexaEngine/Hexa.NET.SDL/blob/master/LICENSE.txt) file for more information.