Constant VIDEO_OFFSCREEN_SAVE_FRAMES
pub const VIDEO_OFFSCREEN_SAVE_FRAMES: &'static str;
Available on crate feature
dep_sdl3
only.Expand description
A variable controlling whether the offscreen video driver saves output frames.
This only saves frames that are generated using software rendering, not accelerated OpenGL rendering.
- “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.
§Availability
This hint is available since SDL 3.2.0.