Graphics Programming with SDL 3
summary
SDL3 (released early 2025) is shown as a practical cross‑platform C library that opens a window in about six lines of code, handles events, audio and cameras, and compiles to the web via emscripten to WebAssembly. Examples include loading BMP to an SDL surface, creating GPU textures, animating sprites by shifting source rectangles, and a GPU backend that maps to Vulkan/Metal/Direct3D. A Vulkan-backed SDL GPU example is ~100 lines instead of thousands, and camera + web demos run in the browser, so the approach clearly works.
AI-written summary · about
chapters (40)
- 0:00Introduction
- 0:12Game industry overview
- 2:45Cross-platform challenges
- 5:09Introduction to SDL
- 6:51SDL capabilities
- 9:02Open source and community
- 10:12Industry adoption
- 11:35SDL architecture
- 12:54Abstraction layers
- 13:32Related frameworks
- 14:35Installation and setup
- 15:08First SDL program
- 17:18Compilation process
- 18:14Callback-based apps
- 19:56Web assembly example
- 22:04Error handling
- 22:58SDL event loop
- 24:35Handling events
- 27:55Video API basics
- 28:51Hardware rendering
- 29:49Interactive rendering
- 30:53Application structure
- 32:23Raster graphics
- 33:29Double buffering
- 34:32Vector graphics
- 35:05Hardware acceleration
- 35:40Texture rendering
- 36:48Render API
- 39:32Animation
- 42:26Resource management
- 43:37Advanced features
- 45:553D graphics API
- 46:54SDL GPU API
- 48:16Modern graphics concepts
- 50:21Shaders and buffers
- 50:50Command buffers
- 53:12C++ graphics standards
- 53:50Proposal for std::graphics
- 55:46SDL wiki and resources
- 58:50Q&A
