# SDL

Cross\-platform low\-level library for game windowing, input, audio and graphics\.

ID: Q644 · Revision: 692

Type: software · License: zlib[^sdl-home] · Status: active

Website: https://www.libsdl.org/



Simple DirectMedia Layer \(SDL\) is a low\-level cross\-platform multimedia library\. SDL3 provides C interfaces for windows, input, audio and graphics infrastructure used by games and other interactive applications\.[^sdl-home]

## Capabilities and substitutions

### GPU rendering — supported

SDL3 GPU exposes explicit rendering and compute; backend and shader requirements apply\.[^sdl-gpu]

Use case: Code\-driven games and interactive graphics · Platforms: Windows, macOS, Linux, iOS, Android · Region: Target toolchains, browser and hardware support apply

### SDL2 source compatibility — limited

The SDL3 migration requires API and build changes\.[^sdl-migration]

Use case: Code\-driven games and interactive graphics · Platforms: Windows, macOS, Linux, iOS, Android · Region: Target toolchains, browser and hardware support apply

### [Substitute for SFML](/sfml) — limited

Can replace the multimedia foundation of code\-driven games; it is a C API migration, not a source\-compatible swap\.[^sdl-home][^sfml-home]

Use case: Code\-driven games and interactive graphics · Platforms: Windows, macOS, Linux, iOS, Android · Region: Target toolchains, browser and hardware support apply

## References

[^sdl-home]: [SDL3 documentation](<https://wiki.libsdl.org/SDL3/FrontPage>) — Core library, licensing and satellite projects (vendor; retrieved 2026-10-07T06:54:16Z)

[^sdl-gpu]: [SDL GPU API](<https://wiki.libsdl.org/SDL3/CategoryGPU>) — Backends, shader formats and rendering model (vendor; retrieved 2026-10-07T06:55:14Z)

[^sdl-migration]: [SDL2 to SDL3 migration](<https://github.com/libsdl-org/SDL/blob/main/docs/README-migration.md>) — API, headers, build and error handling changes (vendor; retrieved 2026-10-07T06:55:14Z)

[^sfml-home]: [SFML overview](<https://www.sfml-dev.org/>) — Modules and platform support (vendor; retrieved 2026-10-07T06:53:51Z)

Source revision: https://substitutefor.net/entities/Q644?revision=692
