mirror of https://github.com/ppy/SDL3-CS.git
C# bindings for SDL3 (https://github.com/libsdl-org/SDL)
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. |
||
|---|---|---|
| .config | ||
| .github/workflows | ||
| .idea | ||
| .run | ||
| External | ||
| 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 | ||
| native | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .globalconfig | ||
| Directory.Build.props | ||
| Dockerfile | ||
| 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 | ||
| global.json | ||
README.md
SDL3-CS
C# bindings for the SDL3 family of libraries.
| Product | Usage | Package |
|---|---|---|
SDL |
dotnet add package ppy.SDL3-CS |
|
SDL_image |
dotnet add package ppy.SDL3_image-CS |
|
SDL_ttf |
dotnet add package ppy.SDL3_ttf-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-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.