SDL2# - C# Wrapper for SDL2
Go to file
2019-10-23 09:48:39 -04:00
.github Create FUNDING.yml 2019-10-11 14:32:36 -04:00
gitlab-ci Build in a release configuration before packaging. 2018-11-10 11:59:07 -05:00
src Added additional RWops functions and partial SDL_RWops structure. 2019-10-23 09:48:39 -04:00
.gitignore Update .gitignore 2014-05-31 19:55:44 -04:00
.gitlab-ci.yml gitlab-ci integration (#140) 2018-09-09 17:37:49 -04:00
LICENSE Happy New Year! 2016-01-04 11:55:36 -05:00
Makefile dmcs->mcs 2018-09-10 00:12:13 -04:00
README Add note about VS debugger silent exit 2016-10-24 17:12:49 -04:00
SDL2-CS.Core.csproj Replace LPUtf8StrMarshaler with internal UTF8 API 2017-10-19 12:30:01 -04:00
SDL2-CS.csproj Enable the optimise flag in Release configurations. 2018-06-17 10:10:52 -04:00
SDL2-CS.dll.config Remove .dll suffix from DllImports 2018-09-10 00:04:00 -04:00
SDL2-CS.sln Change SDL2# project names. 2013-11-04 14:51:28 -05:00

This is SDL2#, a C# wrapper for SDL2.

Project Website: https://github.com/flibitijibibo/SDL2-CS

License
-------
SDL2 and SDL2# are released under the zlib license. See LICENSE for details.

About SDL2
----------
For more information about SDL2, visit the SDL wiki:

http://wiki.libsdl.org/moin.fcg/FrontPage

About the C# Wrapper
--------------------
The C# wrapper was written to be used for FNA's platform support. However, this
is written in a way that can be used for any general C# application.

The wrapper provides bindings for the following libraries:
- SDL2
- SDL2_image
- SDL2_mixer
- SDL2_ttf

Note that SDL2# will not provide every single SDL2 function. This is due to
limitations in the C# language that would cause major conflicts with the native
SDL2 library and its extensions.

SDL2# is a pure port of the C headers. The naming schemes for this library will
be exactly as they are done in the C library, with little-to-no concern for
"appropriate" C# style. The namespace indicates that this is SDL2, the class
names will indicate which library file the function/type/value exists in, and
everything else will be as close to the C version as technically possible.

About the Visual Studio Debugger
--------------------------------
When running C# applications under the Visual Studio debugger, native code that
names threads with the 0x406D1388 exception will silently exit. To prevent this
exception from being thrown by SDL, add this line before your SDL_Init call:

SDL.SDL_SetHint(SDL.SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING, "1");

Roadmap
-------
To see the current roadmap for SDL2#, visit the GitHub issues page:

https://github.com/flibitijibibo/SDL2-CS/issues