Opentopia Directory Encyclopedia Tools

Simple DirectMedia Layer

Encyclopedia : S : SI : SIM : Simple DirectMedia Layer


Abstraction layers of several SDL platforms
Enlarge
Abstraction layers of several SDL platforms

Simple DirectMedia Layer (SDL) is a cross-platform multimedia library that creates an abstraction over various platforms' graphics, sound, and input APIs, allowing a developer to write a computer game or other multimedia application once and run it on GNU/Linux, Windows, Mac OS Classic, Mac OS X, BeOS, FreeBSD, OpenBSD, Solaris, QNX, IRIX, and a few other unofficially ported platforms. It manages video, events, numeric audio, CD-ROM sound, threads, and timers.

Sam Lantinga created the library, first releasing it in early 1998, while working for Loki Software. He got the idea while porting a Windows application to Macintosh. He then used SDL to port Doom to BeOS (see Doom source ports). Several other free libraries appeared to work with SDL, such as SMPEG and OpenAL.

The SDL is mainly coded in C but has bindings to many languages and exists on several operating systems.

SDL itself is very simple; it merely acts as a thin, cross-platform wrapper, providing support for 2D pixel operations, sound, file access, event handling, timing, threading, and more. OpenGL is often used with SDL to provide fast 3D rendering. It is often thought of as a cross-platform DirectX, although it lacks some of its more advanced functionality. SDL instead has a huge number of third party extensions that make it easy to do more advanced functions.

It is freely available open source and is licensed under the LGPL.

Bindings

.NET Binding

SDL.NET is a set of object-oriented CLS-compliant .NET bindings for the Simple DirectMedia Layer written by David Y. Hudson. It provides high-level access to audio, keyboard, mouse, joystick, TrueType fonts, various image formats, sound mixing, MPEG-1 movies and 3D hardware via OpenGL, 2D video framebuffer.

Extensions

External links

Games using SDL

Image:OpenTTD-screenshot.png|OpenTTD Image:Battle_for_Wesnoth_0.9.6_tutorial.png|Battle for Wesnoth Image:Strogg_harvester_patrol.jpg|Quake 4 Image:NWN_luskan.jpg|Neverwinter Nights

See List of Games using SDL for a complete list

See also

External links

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: