mirror of
https://github.com/Kenji-NX/SDL3-CS.git
synced 2026-08-12 18:07:53 -04:00
C# bindings for SDL3 (https://github.com/libsdl-org/SDL)
- C# 98.4%
- Python 1.5%
- Dockerfile 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .config | ||
| .github/workflows | ||
| .idea | ||
| .run | ||
| External | ||
| native | ||
| SDL3-CS | ||
| SDL3-CS.SourceGeneration | ||
| SDL3-CS.Tests | ||
| SDL3-CS.Tests.Android | ||
| SDL3-CS.Tests.Desktop | ||
| SDL3-CS.Tests.iOS | ||
| SDL3_image-CS | ||
| SDL3_mixer-CS | ||
| SDL3_ttf-CS | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .globalconfig | ||
| Directory.Build.props | ||
| Dockerfile | ||
| global.json | ||
| LICENCE | ||
| README.md | ||
| README_nuget.md | ||
| SDL3-CS.Android.slnf | ||
| SDL3-CS.Desktop.slnf | ||
| SDL3-CS.iOS.slnf | ||
| SDL3-CS.licenseheader | ||
| SDL3-CS.sln | ||
| SDL3-CS.sln.DotSettings | ||
SDL3-CS
C# bindings for the SDL3 family of libraries.
| Product | Usage | Package |
|---|---|---|
SDL |
dotnet add package Ryujinx.SDL3-CS |
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
- Ensure all submodules are correctly initialised:
git submodule update --init --recursive - Check out submodules at new desired upstream commits.
- Regenerate C# bindings via:
docker build -t 'sdl-gen' . docker run --rm -v .:/app -w /app -it sdl-gen - Run the "Build Native" (
.github/workflows/build.yml) workflow to generate platform binaries.
License
This code is released under MIT.