A variable controlling whether the offscreen video driver saves output frames.
Defined in <SDL3/SDL_hints.h>
#define SDL_HINT_VIDEO_OFFSCREEN_SAVE_FRAMES "SDL_VIDEO_OFFSCREEN_SAVE_FRAMES"
This only saves frames that are generated using software rendering, not accelerated OpenGL rendering.
This hint can be set anytime.
This hint is available since SDL 3.2.0.