SDL (Simple DirectMedia Layer) - Chapters List

This book applies to version 2 and newer of SDL.


  1. About the book   - General information on the Wikibook
  2. What is SDL?   - Introduction to the SDL library and its two main versions

Chapter 1 : Basics

edit
  1. Getting started   (30-12-2017) - Setting up the SDL development libraries and building sample source code.
    1. in Windows  
    2. in macOS  
    3. in Linux  
  2. Creating a window   (30-12-2017) - Creating a simple and basic SDL window.

Chapter 2 : Graphics

edit
  1. Rendering images   (31-12-2017) - Blitting and rendering images onto a window.
  2. Rendering other image formats   (01-01-2018) - Blitting and rendering other image formats onto a window.
  3. Rendering surfaces   (04-01-2018) - Optimising and stretching surfaces onto a window.
  4. Rendering textures  
  5. Rendering geometry  
  6. Creating viewports  
  7. Color keying  
  8. Clip rendering and sprite sheets  
  9. Color modulation  
  10. Alpha blending  
  11. Animation and Vsync  
  12. Rotating and flipping textures  
  13. Fonts and text  
  1. Event-driven programming  
  2. Keypresses  
  3. Mouse events  
  4. Key states  
  5. Timing  
  1. Frame rate  
    1. Calculating frame rate  
    2. Capping frame rate  
  2. Motion  
  3. Scrolling  
  4. Clipboard  
  5. Window events  
  6. Multiple windows  
  7. Multiple displays  
  8. Tiling  
  9. Texture manipulation  
  10. Bitmap fonts  
  11. Frame-independent movement  
  1. Building  
    1. in GNU Automake  
    2. in CMake  
  2. Packaging  
  1. File input/output  
  2. Timer callbacks