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.
<PackageVersion Include="DeafMan1983.Interop.SDL3" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="DeafMan1983.Interop.SDL3" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#:package DeafMan1983.Interop.SDL3@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DeafMan1983.Interop.SDL3&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=DeafMan1983.Interop.SDL3&version=1.0.5
                    
Install as a Cake Tool

DeafMan1983.Interop.SDL3

SDL3 for C#

Warning DeafMan1983.Interop.SDL3 has old version since pre released version of SDL3

But I need to update okay Please use SDL3-CS by Elten Lee!!! If I am finish then I will release than I will notify..

End of Warning!

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 356 4/30/2023
1.0.4 372 4/28/2023
1.0.2 374 4/26/2023
1.0.1 377 4/26/2023
1.0.0 384 4/24/2023