Skip to content

HexaEngine/Hexa.NET.SDL

Repository files navigation

Hexa.NET.SDL

NuGet Version SDL2 NuGet Downloads SDL2 NuGet Version SDL3 NuGet Downloads SDL3 License

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:

📄 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

Thanks to our sponsors!

Sponsors

About

A C# wrapper for SDL2 and SDL3

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •