SDL_HINT_RPI_VIDEO_LAYER(3)
β¨ SDL_HINT_RPI_VIDEO_LAYER β¨
okay bestie, so this is the SDL3 hint page β yes it lives in the SDL3 FUNCTIONS manual, and yes we're about to make Dispmanx layers make sense π
π NAME π
SDL_HINT_RPI_VIDEO_LAYER β a variable that controls which Dispmanx layer you use on a Raspberry PI. that's it, that's the whole job π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_hints.h>
#define SDL_HINT_RPI_VIDEO_LAYER "SDL_RPI_VIDEO_LAYER"
π DESCRIPTION π
so this one is also known as Z-order, if you've ever heard that term floating around and been like "huh" β same thing, bestie π¦
the variable can take a negative or positive value. your call, no judgment here.
the default is 10000 β
lowkey important: this hint should be set before SDL is initialized. set it late and it's giving β¨too lateβ¨ π
π AVAILABILITY π
this hint has been available since SDL 3.2.0 π
and that's the whole vibe check, no cap π«Ά this page came to you from the fine folks behind Simple Directmedia Layer, sitting pretty at version SDL 3.4.18, filed under SDL_HINT_RPI_VIDEO_LAYER(3). go forth and layer responsibly ππ
π¦ 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