diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 3177107..9f48a3c 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -34,6 +34,7 @@ jobs:
dotnet pack SDL3_image-CS/SDL3_image-CS.csproj -c Release /p:Version=$(git describe --exact-match --tags HEAD) -o artifacts
dotnet pack SDL3_ttf-CS/SDL3_ttf-CS.csproj -c Release /p:Version=$(git describe --exact-match --tags HEAD) -o artifacts
dotnet pack SDL3_mixer-CS/SDL3_mixer-CS.csproj -c Release /p:Version=$(git describe --exact-match --tags HEAD) -o artifacts
+ dotnet pack SDL3_shadercross-CS/SDL3_shadercross-CS.csproj -c Release /p:Version=$(git describe --exact-match --tags HEAD) -o artifacts
- name: Upload artifact
uses: actions/upload-artifact@v4
diff --git a/README.md b/README.md
index 4854048..df6b1b5 100644
--- a/README.md
+++ b/README.md
@@ -2,12 +2,13 @@
C# bindings for the [SDL3](https://github.com/libsdl-org/SDL) family of libraries.
-| Product | Usage | Package |
-|------------------------------------------------------------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
-| [`SDL`](https://github.com/libsdl-org/SDL/tree/main) | `dotnet add package ppy.SDL3-CS` | [](https://www.nuget.org/packages/ppy.SDL3-CS) |
-| [`SDL_image`](https://github.com/libsdl-org/SDL_image/tree/main) | `dotnet add package ppy.SDL3_image-CS` | [](https://www.nuget.org/packages/ppy.SDL3_image-CS) |
-| [`SDL_ttf`](https://github.com/libsdl-org/SDL_ttf/tree/main) | `dotnet add package ppy.SDL3_ttf-CS` | [](https://www.nuget.org/packages/ppy.SDL3_ttf-CS) |
-| [`SDL_mixer`](https://github.com/libsdl-org/SDL_mixer/tree/main) | `dotnet add package ppy.SDL3_mixer-CS` | [](https://www.nuget.org/packages/ppy.SDL3_mixer-CS) |
+| Product | Usage | Package |
+|------------------------------------------------------------------------------|----------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
+| [`SDL`](https://github.com/libsdl-org/SDL/tree/main) | `dotnet add package ppy.SDL3-CS` | [](https://www.nuget.org/packages/ppy.SDL3-CS) |
+| [`SDL_image`](https://github.com/libsdl-org/SDL_image/tree/main) | `dotnet add package ppy.SDL3_image-CS` | [](https://www.nuget.org/packages/ppy.SDL3_image-CS) |
+| [`SDL_ttf`](https://github.com/libsdl-org/SDL_ttf/tree/main) | `dotnet add package ppy.SDL3_ttf-CS` | [](https://www.nuget.org/packages/ppy.SDL3_ttf-CS) |
+| [`SDL_mixer`](https://github.com/libsdl-org/SDL_mixer/tree/main) | `dotnet add package ppy.SDL3_mixer-CS` | [](https://www.nuget.org/packages/ppy.SDL3_mixer-CS) |
+| [`SDL_shadercross`](https://github.com/libsdl-org/SDL_shadercross/tree/main) | `dotnet add package ppy.SDL3_shadercross-CS` | [](https://www.nuget.org/packages/ppy.SDL3_shadercross-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.
@@ -19,6 +20,7 @@ Contributions to keep the bindings up-to-date with upstream changes are welcome.
| `SDL3_image-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| `SDL3_ttf-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| `SDL3_mixer-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+| `SDL3_shadercross-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
## Generating bindings
diff --git a/README_nuget.md b/README_nuget.md
index 2453519..af7f25e 100644
--- a/README_nuget.md
+++ b/README_nuget.md
@@ -1,11 +1,12 @@
C# bindings for the [SDL3](https://github.com/libsdl-org/SDL) family of libraries.
-| Product | Usage | Package |
-|------------------------------------------------------------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
-| [`SDL`](https://github.com/libsdl-org/SDL/tree/main) | `dotnet add package ppy.SDL3-CS` | [](https://www.nuget.org/packages/ppy.SDL3-CS) |
-| [`SDL_image`](https://github.com/libsdl-org/SDL_image/tree/main) | `dotnet add package ppy.SDL3_image-CS` | [](https://www.nuget.org/packages/ppy.SDL3_image-CS) |
-| [`SDL_ttf`](https://github.com/libsdl-org/SDL_ttf/tree/main) | `dotnet add package ppy.SDL3_ttf-CS` | [](https://www.nuget.org/packages/ppy.SDL3_ttf-CS) |
-| [`SDL_mixer`](https://github.com/libsdl-org/SDL_mixer/tree/main) | `dotnet add package ppy.SDL3_mixer-CS` | [](https://www.nuget.org/packages/ppy.SDL3_mixer-CS) |
+| Product | Usage | Package |
+|------------------------------------------------------------------------------|----------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
+| [`SDL`](https://github.com/libsdl-org/SDL/tree/main) | `dotnet add package ppy.SDL3-CS` | [](https://www.nuget.org/packages/ppy.SDL3-CS) |
+| [`SDL_image`](https://github.com/libsdl-org/SDL_image/tree/main) | `dotnet add package ppy.SDL3_image-CS` | [](https://www.nuget.org/packages/ppy.SDL3_image-CS) |
+| [`SDL_ttf`](https://github.com/libsdl-org/SDL_ttf/tree/main) | `dotnet add package ppy.SDL3_ttf-CS` | [](https://www.nuget.org/packages/ppy.SDL3_ttf-CS) |
+| [`SDL_mixer`](https://github.com/libsdl-org/SDL_mixer/tree/main) | `dotnet add package ppy.SDL3_mixer-CS` | [](https://www.nuget.org/packages/ppy.SDL3_mixer-CS) |
+| [`SDL_shadercross`](https://github.com/libsdl-org/SDL_shadercross/tree/main) | `dotnet add package ppy.SDL3_shadercross-CS` | [](https://www.nuget.org/packages/ppy.SDL3_shadercross-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.
@@ -16,4 +17,5 @@ Contributions to keep the bindings up-to-date with upstream changes are welcome.
| `SDL3-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| `SDL3_image-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| `SDL3_ttf-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
-| `SDL3_mixer-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
\ No newline at end of file
+| `SDL3_mixer-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+| `SDL3_shadercross-CS` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
diff --git a/SDL3-CS.Android.slnf b/SDL3-CS.Android.slnf
index 4c6d303..a363d4d 100644
--- a/SDL3-CS.Android.slnf
+++ b/SDL3-CS.Android.slnf
@@ -8,7 +8,8 @@
"SDL3-CS\\SDL3-CS.csproj",
"SDL3_image-CS\\SDL3_image-CS.csproj",
"SDL3_mixer-CS\\SDL3_mixer-CS.csproj",
- "SDL3_ttf-CS\\SDL3_ttf-CS.csproj"
+ "SDL3_ttf-CS\\SDL3_ttf-CS.csproj",
+ "SDL3_shadercross-CS\\SDL3_shadercross-CS.csproj"
]
}
-}
\ No newline at end of file
+}
diff --git a/SDL3-CS.Desktop.slnf b/SDL3-CS.Desktop.slnf
index d33a587..c2767b5 100644
--- a/SDL3-CS.Desktop.slnf
+++ b/SDL3-CS.Desktop.slnf
@@ -8,7 +8,8 @@
"SDL3-CS\\SDL3-CS.csproj",
"SDL3_image-CS\\SDL3_image-CS.csproj",
"SDL3_mixer-CS\\SDL3_mixer-CS.csproj",
- "SDL3_ttf-CS\\SDL3_ttf-CS.csproj"
+ "SDL3_ttf-CS\\SDL3_ttf-CS.csproj",
+ "SDL3_shadercross-CS\\SDL3_shadercross-CS.csproj"
]
}
-}
\ No newline at end of file
+}
diff --git a/SDL3-CS.Tests/SDL3-CS.Tests.csproj b/SDL3-CS.Tests/SDL3-CS.Tests.csproj
index fa3114e..0363ac0 100644
--- a/SDL3-CS.Tests/SDL3-CS.Tests.csproj
+++ b/SDL3-CS.Tests/SDL3-CS.Tests.csproj
@@ -25,6 +25,7 @@
+
diff --git a/SDL3-CS.iOS.slnf b/SDL3-CS.iOS.slnf
index 4e9f609..f8e3189 100644
--- a/SDL3-CS.iOS.slnf
+++ b/SDL3-CS.iOS.slnf
@@ -8,7 +8,8 @@
"SDL3-CS\\SDL3-CS.csproj",
"SDL3_image-CS\\SDL3_image-CS.csproj",
"SDL3_mixer-CS\\SDL3_mixer-CS.csproj",
- "SDL3_ttf-CS\\SDL3_ttf-CS.csproj"
+ "SDL3_ttf-CS\\SDL3_ttf-CS.csproj",
+ "SDL3_shadercross-CS\\SDL3_shadercross-CS.csproj"
]
}
-}
\ No newline at end of file
+}
diff --git a/SDL3-CS.sln b/SDL3-CS.sln
index 63301ae..9cdea7b 100644
--- a/SDL3-CS.sln
+++ b/SDL3-CS.sln
@@ -31,6 +31,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SDL3_image-CS", "SDL3_image
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SDL3_mixer-CS", "SDL3_mixer-CS\SDL3_mixer-CS.csproj", "{421748C4-B51F-4B00-9637-566DBFD96E02}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SDL3_shadercross-CS", "SDL3_shadercross-CS\SDL3_shadercross-CS.csproj", "{E98595B3-A9FA-4217-9F22-1023A7C55C2B}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -73,6 +75,10 @@ Global
{421748C4-B51F-4B00-9637-566DBFD96E02}.Debug|Any CPU.Build.0 = Debug|Any CPU
{421748C4-B51F-4B00-9637-566DBFD96E02}.Release|Any CPU.ActiveCfg = Release|Any CPU
{421748C4-B51F-4B00-9637-566DBFD96E02}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E98595B3-A9FA-4217-9F22-1023A7C55C2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E98595B3-A9FA-4217-9F22-1023A7C55C2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E98595B3-A9FA-4217-9F22-1023A7C55C2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E98595B3-A9FA-4217-9F22-1023A7C55C2B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/SDL3-CS/Properties/AssemblyInfo.cs b/SDL3-CS/Properties/AssemblyInfo.cs
index addb6e2..695cca4 100644
--- a/SDL3-CS/Properties/AssemblyInfo.cs
+++ b/SDL3-CS/Properties/AssemblyInfo.cs
@@ -9,3 +9,4 @@ using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("SDL3_ttf-CS")]
[assembly: InternalsVisibleTo("SDL3_image-CS")]
[assembly: InternalsVisibleTo("SDL3_mixer-CS")]
+[assembly: InternalsVisibleTo("SDL3_shadercross-CS")]
diff --git a/SDL3_shadercross-CS/SDL3_shadercross-CS.csproj b/SDL3_shadercross-CS/SDL3_shadercross-CS.csproj
new file mode 100644
index 0000000..609e641
--- /dev/null
+++ b/SDL3_shadercross-CS/SDL3_shadercross-CS.csproj
@@ -0,0 +1,159 @@
+
+
+
+ net8.0;net8.0-android
+ net8.0
+ 21
+ SDL
+ enable
+ true
+ $(NoWarn);SYSLIB1054;CA1401
+
+
+
+ ppy Pty Ltd
+ ppy Pty Ltd
+ Copyright (c) 2024 ppy Pty Ltd
+ ppy.SDL3_shadercross-CS
+ ppy.SDL3_shadercross-CS
+ Automated release.
+ MIT
+ https://github.com/ppy/SDL3-CS
+ README_nuget.md
+ https://github.com/ppy/SDL3-CS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ runtimes/win-x64/native
+ true
+
+
+ runtimes/win-x64/native
+ true
+
+
+
+ runtimes/win-arm64/native
+ true
+
+
+ runtimes/win-x64/native
+ true
+
+
+
+ runtimes/win-x86/native
+ true
+
+
+ runtimes/win-x64/native
+ true
+
+
+
+ runtimes/osx-x64/native
+ true
+
+
+ runtimes/osx-arm64/native
+ true
+
+
+
+ runtimes/osx-arm64/native
+ true
+
+
+ runtimes/osx-arm64/native
+ true
+
+
+
+ runtimes/linux-x64/native
+ true
+
+
+ runtimes/linux-x64/native
+ true
+
+
+
+ runtimes/linux-x86/native
+ true
+
+
+ runtimes/linux-x64/native
+ true
+
+
+
+ runtimes/linux-arm64/native
+ true
+
+
+ runtimes/linux-x64/native
+ true
+
+
+
+ runtimes/linux-arm/native
+ true
+
+
+ runtimes/linux-x64/native
+ true
+
+
+
+ runtimes/ios/native/SDL3_shadercross.xcframework
+ true
+
+
+
+ runtimes/android-arm/native
+ true
+
+
+ runtimes/android-arm/native
+ true
+
+
+
+ runtimes/android-arm64/native
+ true
+
+
+ runtimes/android-arm/native
+ true
+
+
+
+ runtimes/android-x64/native
+ true
+
+
+ runtimes/android-arm/native
+ true
+
+
+
+ runtimes/android-x86/native
+ true
+
+
+ runtimes/android-arm/native
+ true
+
+
+
+