sdl2.nuget 2.0.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package sdl2.nuget --version 2.0.10
NuGet\Install-Package sdl2.nuget -Version 2.0.10
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="sdl2.nuget" Version="2.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add sdl2.nuget --version 2.0.10
#r "nuget: sdl2.nuget, 2.0.10"
#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 sdl2.nuget as a Cake Addin
#addin nuget:?package=sdl2.nuget&version=2.0.10

// Install sdl2.nuget as a Cake Tool
#tool nuget:?package=sdl2.nuget&version=2.0.10

Thanks to all the people who contributed code and feedback, SDL 2.0.10 is now available! http://www.libsdl.org/download-2.0.php

In addition to lots of bug fixes and build improvements, here are the major changes in this release:

General:

  • The SDL_RW* macros have been turned into functions that are available only in 2.0.10 and onward
  • Added SDL_SIMDGetAlignment(), SDL_SIMDAlloc(), and SDL_SIMDFree(), to allocate memory aligned for SIMD operations for the current CPU
  • Added SDL_RenderDrawPointF(), SDL_RenderDrawPointsF(), SDL_RenderDrawLineF(), SDL_RenderDrawLinesF(), SDL_RenderDrawRectF(), * SDL_RenderDrawRectsF(), SDL_RenderFillRectF(), SDL_RenderFillRectsF(), SDL_RenderCopyF(), SDL_RenderCopyExF(), to allow floating point precision in the SDL rendering API.
  • Added SDL_GetTouchDeviceType() to get the type of a touch device, which can be a touch screen or a trackpad in relative or absolute coordinate mode.
  • The SDL rendering API now uses batched rendering by default, for improved performance
  • Added SDL_RenderFlush() to force batched render commands to execute, if you’re going to mix SDL rendering with native rendering
  • Added the hint SDL_HINT_RENDER_BATCHING to control whether batching should be used for the rendering API. This defaults to “1” if you don’t specify what rendering driver to use when creating the renderer.
  • Added the hint SDL_HINT_EVENT_LOGGING to enable logging of SDL events for debugging purposes
  • Added the hint SDL_HINT_GAMECONTROLLERCONFIG_FILE to specify a file that will be loaded at joystick initialization with game controller bindings
  • Added the hint SDL_HINT_MOUSE_TOUCH_EVENTS to control whether SDL will synthesize touch events from mouse events
  • Improved handling of malformed WAVE and BMP files, fixing potential security exploits

Linux:

  • Removed the Mir video driver in favor of Wayland

iOS / tvOS:

  • Added support for Xbox and PS4 wireless controllers in iOS 13 and tvOS 13
  • Added support for text input using Bluetooth keyboards

Android:

  • Added low latency audio using OpenSL ES
  • Removed SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH (replaced by SDL_HINT_MOUSE_TOUCH_EVENTS and SDL_HINT_TOUCH_MOUSE_EVENTS)
  • SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH=1, should be replaced by setting both previous hints to 0.
  • SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH=0, should be replaced by setting both previous hints to 1.
  • Added the hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE to set whether the event loop will block itself when the app is paused.
Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on sdl2.nuget:

Package Downloads
sdl2_ttf.nuget

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games. SDL officially supports Windows, Mac OS X, Linux, iOS, and Android. Support for other platforms may be found in the source code. SDL is written in C, works natively with C++, and there are bindings available for several other languages, including C# and Python. --- Is this package outdated? Report here: https://github.com/kosmotema/sdl2-nuget

sdl2_image.nuget

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games. SDL officially supports Windows, Mac OS X, Linux, iOS, and Android. Support for other platforms may be found in the source code. SDL is written in C, works natively with C++, and there are bindings available for several other languages, including C# and Python. --- Is this package outdated? Report here: https://github.com/kosmotema/sdl2-nuget

sdl2_mixer.nuget

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games. SDL officially supports Windows, Mac OS X, Linux, iOS, and Android. Support for other platforms may be found in the source code. SDL is written in C, works natively with C++, and there are bindings available for several other languages, including C# and Python. --- Is this package outdated? Report here: https://github.com/kosmotema/sdl2-nuget

Dina.Framework

Dina is a framework in SDL2/C++ inspired by Love2D and MonoGame.

sdl2_net.nuget

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games. SDL officially supports Windows, Mac OS X, Linux, iOS, and Android. Support for other platforms may be found in the source code. SDL is written in C, works natively with C++, and there are bindings available for several other languages, including C# and Python. --- Is this package outdated? Report here: https://github.com/kosmotema/sdl2-nuget

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on sdl2.nuget:

Repository Stars
cspspemu/cspspemu
C# PSP Emulator (.NET Core 3.1)
Version Downloads Last updated
2.30.2 730 4/6/2024
2.30.1 284 4/6/2024
2.30.0 2,602 2/5/2024
2.29.2-prerelease 1,727 1/23/2024
2.28.5 13,553 11/11/2023
2.28.4 7,031 10/11/2023
2.28.3 4,069 9/4/2023
2.28.2 4,352 8/5/2023
2.28.1 4,471 7/1/2023
2.28.0 3,684 6/28/2023
2.26.5 5,197 4/9/2023
2.26.4 4,015 3/23/2023
2.26.3 4,741 2/22/2023
2.26.2 4,049 2/1/2023
2.26.1 27,511 12/6/2022
2.26.0 3,584 12/6/2022
2.24.2 4,634 11/8/2022
2.24.1 4,209 11/8/2022
2.24.0 4,217 11/8/2022
2.0.22 5,720 4/27/2022
2.0.20 53,521 1/16/2022
2.0.18 5,745 12/7/2021
2.0.16 8,503 8/19/2021
2.0.14 19,089 1/4/2021
2.0.12 11,303 4/6/2020
2.0.10 13,040 7/30/2019
2.0.9 15,801 11/9/2018
2.0.8.2 7,415 9/22/2018
2.0.8.1 6,313 9/20/2018
2.0.8 10,753 8/3/2018

Look at the official SDL website https://libsdl.org/