| What it is | Simple DirectMedia Layer: cross-platform C library for windows, input, audio and graphics | Simple and Fast Multimedia Library: a cross-platform C++ API for windowing, graphics, audio and networking | A multi-platform library for OpenGL, OpenGL ES and Vulkan windows, contexts and input |
| Features | - Window creation and graphics access via OpenGL and Direct3D
- Keyboard, mouse and joystick input
- Cross-platform audio
- Official support for Windows, macOS, Linux, iOS and Android
- Bindings for other languages, including C# and Python
- sdl2-compat, a binary- and source-compatible SDL2 layer that runs existing SDL2 programs on SDL3
| | - window and OpenGL context in two function calls
- OpenGL, OpenGL ES and Vulkan support
- multiple windows and monitors, high-DPI and gamma ramps
- keyboard, mouse, gamepad, time and window input by polling or callbacks
- access to native objects for platform-specific features
- community bindings for many languages
|