DeafMan1983.Interop.SDL3 1.0.5

dotnet add package DeafMan1983.Interop.SDL3 --version 1.0.5
NuGet\Install-Package DeafMan1983.Interop.SDL3 -Version 1.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DeafMan1983.Interop.SDL3" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DeafMan1983.Interop.SDL3 --version 1.0.5
#r "nuget: DeafMan1983.Interop.SDL3, 1.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DeafMan1983.Interop.SDL3 as a Cake Addin
#addin nuget:?package=DeafMan1983.Interop.SDL3&version=1.0.5

// Install DeafMan1983.Interop.SDL3 as a Cake Tool
#tool nuget:?package=DeafMan1983.Interop.SDL3&version=1.0.5

DeafMan1983.Interop.SDL3

SDL3 for C#

Changes and Fixes:

  • Added SDL3_ttf in C# ( Sorry take longer for SDL3_ttf )
  • Added SDL_stdinc in C# Trying to resolve if I copy from *.h to *.cs and format and write own. ( Still in process )

  • Replaced SDL_bool to int and some enum SDL_xxxxxxx to uint

  • Fixed and replaced to nint like you have tried Marshal.GetDelegateForFunctionPointer<T>() for GL, EGL and Vulkan too

  • Removed operator implicit and explicit from SDL_Renderer ( Sony I forgot to remove! I will recheck and verify for whole SDL3 if they have updated codes in SDL3. )

  • Fixed all structures and removed all operator implicit and explicit with void *value cause SDL_MapRGB and MapRGBA crashed.

  • Added some SDL_hints define string but not all....

  • Updated all structures with fake instance like TerraFX.Interop.Xlib's structures

  • Changed uint to DisplayID and WindowID

Hello everyone I have made SDL3 for C# and you can use Nuget or here to download.

SDL3 from SDL3

SDL3_image from SDL3_image

SDL3_ttf from SDL_tff

But for SDL3 C# has 95 % completed converted by ClangSharpPInvokeGenerator but "SDL_stdinc.h" cannot convert to C# complete because ClangSharpPInvokeGenerator stopped to convert whole SDL_stdinc.h to C# format cause it has many errors. I can't resolve but SDL_floot, SDL_fabs etc are not needed just in System.Math and System.MathF

And I would like to release many new tutorial if you know about SDL3 like in C++/C

Enjoy your game development!

Original GitHub Url: DeafMan1983.Interop.SDL3

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.5 157 4/30/2023
1.0.4 143 4/28/2023
1.0.2 147 4/26/2023
1.0.1 149 4/26/2023
1.0.0 148 4/24/2023