C# bindings for SDL3 (https://github.com/libsdl-org/SDL)
  • C# 98.4%
  • Python 1.5%
  • Dockerfile 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
github-actions[bot] 8d28a75f3d
Update native binaries (#5)
Co-authored-by: KeatonTheBot <[email protected]>
2026-07-07 20:14:08 -05:00
.config Initial SDL3-CS binding project with ClangSharp 2024-04-06 00:57:07 +02:00
.github/workflows Fix typo in deploy.yml 2026-07-06 18:19:31 -05:00
.idea Remove IDEA workspaces 2024-12-04 14:56:41 +09:00
.run Adjust run configs 2024-04-20 19:32:41 +09:00
External build.sh: Add build option to save library space 2026-07-07 20:01:51 -05:00
native Update native binaries (#5) 2026-07-07 20:14:08 -05:00
SDL3-CS Update native binaries (#5) 2026-07-07 20:14:08 -05:00
SDL3-CS.SourceGeneration Update NuGet packages, README.md & README_nuget.md 2026-07-06 18:19:31 -05:00
SDL3-CS.Tests Revert Microsoft.NET.Test.Sdk back to 17.0.0 2026-07-06 18:19:31 -05:00
SDL3-CS.Tests.Android Shortcase Android library includes 2025-08-17 17:56:33 +09:00
SDL3-CS.Tests.Desktop Improve lib resolving for desktop project 2025-08-17 19:58:28 +09:00
SDL3-CS.Tests.iOS Add other libraries to iOS build 2025-08-17 19:19:56 +09:00
SDL3_image-CS Remove SDL3_image, SDL3_mixer, SDL3_ttf from workflows/builds 2026-07-06 18:18:56 -05:00
SDL3_mixer-CS Remove SDL3_image, SDL3_mixer, SDL3_ttf from workflows/builds 2026-07-06 18:18:56 -05:00
SDL3_ttf-CS Remove SDL3_image, SDL3_mixer, SDL3_ttf from workflows/builds 2026-07-06 18:18:56 -05:00
.editorconfig Fix .editorconfig generated code glob pattern 2024-04-16 12:49:38 +02:00
.gitattributes Fix checkout line endings in .g.cs files 2025-06-23 22:41:40 +02:00
.gitignore Refactor build script and build satellite libraries for Android 2025-06-29 19:48:22 +09:00
.gitmodules Remove SDL3_image, SDL3_mixer, SDL3_ttf from workflows/builds 2026-07-06 18:18:56 -05:00
.globalconfig Add global/base files 2024-04-05 23:59:34 +02:00
Directory.Build.props Move NuGet config to final csproj 2024-04-07 15:17:29 +09:00
Dockerfile Fix Dockerfile not working with multi-targeted project 2024-12-18 15:06:42 +09:00
global.json Add global/base files 2024-04-05 23:59:34 +02:00
LICENCE Add global/base files 2024-04-05 23:59:34 +02:00
README.md Update NuGet packages, README.md & README_nuget.md 2026-07-06 18:19:31 -05:00
README_nuget.md Update NuGet packages, README.md & README_nuget.md 2026-07-06 18:19:31 -05:00
SDL3-CS.Android.slnf Add SDL3_mixer to Android .slnf 2025-08-17 17:56:22 +09:00
SDL3-CS.Desktop.slnf Add SDL3_mixer to Desktop .slnf 2025-08-17 19:28:52 +09:00
SDL3-CS.iOS.slnf Add SDL3_mixer to iOS .slnf 2025-08-17 17:57:52 +09:00
SDL3-CS.licenseheader Add global/base files 2024-04-05 23:59:34 +02:00
SDL3-CS.sln Add CS generated files for SDL_mixer 2025-06-28 08:12:51 -05:00
SDL3-CS.sln.DotSettings Rider migrations 2024-09-15 01:52:11 +01:00

SDL3-CS

C# bindings for the SDL3 family of libraries.

Product Usage Package
SDL dotnet add package Ryujinx.SDL3-CS NuGet

Contributions to keep the bindings up-to-date with upstream changes are welcome. If you have improvements or updates, feel free to submit a pull request.

Platform support

Product win-x64 win-arm64 osx-arm64 osx-x64 linux-x64 linux-arm64 ios android
SDL3-CS

How to update SDL

  1. Ensure all submodules are correctly initialised:
    git submodule update --init --recursive
    
  2. Check out submodules at new desired upstream commits.
  3. Regenerate C# bindings via:
    docker build -t 'sdl-gen' .
    docker run --rm -v .:/app -w /app -it sdl-gen
    
  4. Run the "Build Native" (.github/workflows/build.yml) workflow to generate platform binaries.

License

This code is released under MIT.