(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)
SDL_HINT_VIDEO_DUMMY_SAVE_FRAMES
A variable controlling whether the dummy video driver saves output frames.
Defined in <SDL3/SDL_hints.h>
Syntax
#define SDL_HINT_VIDEO_DUMMY_SAVE_FRAMES "SDL_VIDEO_DUMMY_SAVE_FRAMES"
- "0": Video frames are not saved to disk. (default)
- "1": Video frames are saved to files in the format "SDL_windowX-Y.bmp", where X is the window ID, and Y is the frame number.
This hint can be set anytime.
Version
This hint is available since SDL 3.1.3.
CategoryAPI, CategoryAPIMacro, CategoryHints