SDL Examples

SDL3 examples

Renderer

clear
primitives
lines
points
rectangles
textures
streaming-textures
rotating-textures
scaling-textures
geometry
color-mods
viewport
cliprect
read-pixels
debug-text

Input

joystick-polling
joystick-events

Audio

simple-playback
simple-playback-callback
load-wav
multiple-streams

Camera

read-and-draw

Asynchronous I/O

load-bitmaps

Pen

drawing-lines

Full game and app demos

snake
woodeneye-008
infinite-monkeys
bytepusher