Hexa.NET.SDL2 1.2.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hexa.NET.SDL2 --version 1.2.6                
NuGet\Install-Package Hexa.NET.SDL2 -Version 1.2.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hexa.NET.SDL2" Version="1.2.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hexa.NET.SDL2 --version 1.2.6                
#r "nuget: Hexa.NET.SDL2, 1.2.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Hexa.NET.SDL2 as a Cake Addin
#addin nuget:?package=Hexa.NET.SDL2&version=1.2.6

// Install Hexa.NET.SDL2 as a Cake Tool
#tool nuget:?package=Hexa.NET.SDL2&version=1.2.6                

Hexa.NET.SDL2

Hexa.NET.SDL2 is a minimal C# wrapper for the SDL2 library, providing a thin, 1:1 binding to SDL2's C functions. This wrapper is designed for developers who need direct access to the SDL2 library's functionality from C#, without added complexity or overhead.

Features

  • Minimal Wrapper: Provides a direct, 1:1 mapping to the SDL2 C functions, staying true to the original API.
  • Cross-Platform Compatibility: Works across all platforms supported by SDL2, 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 SDL2 separately.

Installation

You can install Hexa.NET.SDL2 via NuGet:

dotnet add package Hexa.NET.SDL2

Alternatively, you can visit the NuGet package page 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.SDL2 is licensed under the MIT License. See the LICENSE file for more information.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Hexa.NET.SDL2:

Package Downloads
Hexa.NET.KittyUI

A Cross-Platform UI-Framework build upon ImGui, simplifying ImGui management in C#.

Hexa.NET.SDL2.Image

A .NET Wrapper for SDL2 Image (v 2.8.2), generated with the HexaGen code generator. HexaGen allows users to access native libraries easily and with high performance.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.8 66 11/13/2024
1.2.7 201 10/31/2024
1.2.6 183 10/20/2024
1.2.5 167 10/20/2024
1.2.4 251 8/21/2024
1.2.3 157 8/21/2024
1.2.2 108 8/19/2024
1.2.1 195 8/13/2024
1.2.0 123 7/28/2024
1.1.0 166 7/13/2024
1.0.4-alpha 75 7/13/2024
1.0.3-alpha 93 7/13/2024
1.0.2-alpha 92 7/13/2024
1.0.1-alpha 82 7/11/2024
1.0.0-alpha 96 7/8/2024