SDL_HINT_VIDEO_DUMMY_SAVE_FRAMES(3)
π SDL_HINT_VIDEO_DUMMY_SAVE_FRAMES(3) π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the man pages, where we talk about one (1) very specific hint and we talk about it thoroughly. this one's a lil niche but she's important, so let's get into it π«Ά
β¨ NAME β¨
SDL_HINT_VIDEO_DUMMY_SAVE_FRAMES β a variable that controls whether the dummy video driver saves its output frames. that's it, that's the whole job, no cap π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_hints.h>
#define SDL_HINT_VIDEO_DUMMY_SAVE_FRAMES "SDL_VIDEO_DUMMY_SAVE_FRAMES"
π¦ DESCRIPTION π¦
so the hint takes two values, and it's giving very much a binary queen moment π
"0"β video frames are not saved to disk. this is the default, so if you don't touch anything, nothing gets written anywhere, we love a low-effort queen π"1"β video frames are saved to files, and the filenames follow the format"SDL_windowX-Y.bmp", whereXis the window ID andYis the frame number. so like, every single frame, just... on your disk. girl. okay. slay but also watch your storage πβ¨
lowkey the best part: this hint can be set anytime. no setup window, no "you had to do it before init" nonsense, just set it whenever and go π
π AVAILABILITY π
this hint has been around since SDL 3.2.0. she's new-ish, she's fresh, she's iconic π
and that's the whole page, bestie!! thanks for reading my little yap session about frame-saving hints π this was brought to you by the fine folks at Simple Directmedia Layer, running the SDL 3.4.18 era of the man pages, and yes i know the header got truncated to SDL_HINT_VIDE...Y_SAVE_FRAMES(3) in the footer, that's just how the terminal do π«Ά go forth and save some frames (or don't, default is don't) π
β¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms