SdlSharp 1.0.0-preview.1
dotnet add package SdlSharp --version 1.0.0-preview.1
NuGet\Install-Package SdlSharp -Version 1.0.0-preview.1
<PackageReference Include="SdlSharp" Version="1.0.0-preview.1" />
<PackageVersion Include="SdlSharp" Version="1.0.0-preview.1" />
<PackageReference Include="SdlSharp" />
paket add SdlSharp --version 1.0.0-preview.1
#r "nuget: SdlSharp, 1.0.0-preview.1"
#:package SdlSharp@1.0.0-preview.1
#addin nuget:?package=SdlSharp&version=1.0.0-preview.1&prerelease
#tool nuget:?package=SdlSharp&version=1.0.0-preview.1&prerelease
SDL# — SDL3 for .NET 10
main contains the C# bindings for SDL 3.4.18. Applications using SDL2 should stay on their existing package version; the sdl2 maintenance branch contains that API and its tutorials.
- SdlSharp wraps SDL3 graphics, audio, input, and system APIs. Its native dependency is SdlSharp.Redist.
- SdlSharp.ImGui adds Dear ImGui 1.93 and the SDL3 GPU backend. It brings in SdlSharp and ImguiSharp.Redist. The packaged ImGui native binaries target Windows and macOS.
To try SDL3 from source, install the .NET 10 SDK and run dotnet run --project Samples/Lifecycle. For an interactive GPU example, run dotnet run --project Samples/ImGuiDemo.
SDL3 is a breaking change for SDL2 consumers. Start with the SDL3 samples. Dispose acquired camera frames, pixel locks, and GPU maps when finished; borrowed views are valid only while their native owner is alive. The API and ownership notes cover the remaining migration details.
See the release instructions for package versions, validation, and publishing.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- SdlSharp.Redist (>= 1.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SdlSharp:
| Package | Downloads |
|---|---|
|
SdlSharp.ImGui
Dear ImGui bindings for SdlSharp, using SDL3 GPU backend. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.1 | 65 | 11/14/2026 |
| 0.9.3-alpha | 1,095 | 9/17/2020 |