C# bindings for SDL3 (https://github.com/libsdl-org/SDL)
Go to file
jairov4 d12cbe2dec Update native binaries
Build other libs for iOS

Build other libs for iOS

Build other libs for iOS

Fix typo in build for iOS

Use recursive for iOS build

Enable back other jobs

Enable back other jobs

Revert "Update native binaries"

This reverts commit 1c4b14cced6ec2cfd185fdc9996feb6746afde59.
2025-06-28 23:05:19 -05:00
.config Initial SDL3-CS binding project with ClangSharp 2024-04-06 00:57:07 +02:00
.github/workflows Update native binaries 2025-06-28 23:05:19 -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 Fix doubious ownership error 2025-06-26 18:14:24 -05:00
SDL3-CS Handle Mix_ methods 2025-06-28 22:37:36 -05:00
SDL3-CS.SourceGeneration Handle Mix_ methods 2025-06-28 22:37:36 -05:00
SDL3-CS.Tests Fix `Unsafe_` method generation in SDL_ttf 2025-06-24 11:00:53 +02:00
SDL3-CS.Tests.Android Mark test projects as non-packable 2025-06-20 00:38:43 +09:00
SDL3-CS.Tests.Desktop Mark test projects as non-packable 2025-06-20 00:38:43 +09:00
SDL3-CS.Tests.iOS Mark test projects as non-packable 2025-06-20 00:38:43 +09:00
SDL3_image-CS Let SDL*_VERSION autogenerate 2025-06-24 11:25:18 +02:00
SDL3_mixer-CS Add CS generated files for SDL_mixer 2025-06-28 08:12:51 -05:00
SDL3_ttf-CS Let SDL*_VERSION autogenerate 2025-06-24 11:25:18 +02:00
native Update native binaries 2025-06-24 08:19:56 +00: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 Add MVP android tests 2024-04-19 19:34:09 +02:00
.gitmodules Introduce SDL_mixer build 2025-06-26 18:00:19 -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
LICENCE Add global/base files 2024-04-05 23:59:34 +02:00
README.md Remove package name from badges 2025-06-20 03:25:42 +09:00
README_nuget.md Add condensed readme to package 2025-06-20 03:33:57 +09:00
SDL3-CS.Android.slnf Merge branch 'master' into feature/sdl-libs 2025-05-20 15:20:06 +09:00
SDL3-CS.Desktop.slnf Fix filtered solutions 2024-12-09 10:31:25 +09:00
SDL3-CS.iOS.slnf Fix filtered solutions 2024-12-09 10:31:25 +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
global.json Add global/base files 2024-04-05 23:59:34 +02:00

README.md

SDL3-CS

C# bindings for the SDL3 family of libraries.

Product Usage Package
SDL dotnet add package ppy.SDL3-CS NuGet
SDL_image dotnet add package ppy.SDL3_image-CS NuGet
SDL_ttf dotnet add package ppy.SDL3_ttf-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-x86 win-arm64 osx-arm64 osx-x64 linux-x64 linux-x86 linux-arm64 linux-arm ios android
SDL3-CS
SDL3_image-CS
SDL3_ttf-CS

Generating bindings

Bindings are generated via the provided Dockerfile:

docker build -t 'sdl-gen' .
docker run --rm -v .:/app -w /app -it sdl-gen

License

This code is released under MIT.