Hexa.NET.SDL
A C# wrapper for SDL2 and SDL3
Install / Use
/learn @HexaEngine/Hexa.NET.SDLREADME
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>Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
