SDL_HINT_VULKAN_DISPLAY(3)
π SDL_HINT_VULKAN_DISPLAY π
okay bestie, welcome to the SDL3 FUNCTIONS page for SDL_HINT_VULKAN_DISPLAY β yes it's a whole manual page, yes it's giving lore, and yes we're gonna read it together π«Ά
β¨ NAME β¨
SDL_HINT_VULKAN_DISPLAY β a variable that overrides the display index used in SDL_Vulkan_CreateSurface() π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_hints.h>
#define SDL_HINT_VULKAN_DISPLAY "SDL_VULKAN_DISPLAY"
π DESCRIPTION π
so basically the display index starts at 0, and 0 is the default. that's it, that's the vibe. zero-indexed girlies stay winning β¨
lowkey important: this hint should be set before calling SDL_Vulkan_CreateSurface() β not after, not during, before. periodt. π
π¦ AVAILABILITY π¦
this hint is available since SDL 3.2.0 β so if you're on something older, it's not gonna show up for you, no cap π
and that's the whole page, bestie!! π this little icon was brought to you by Simple Directmedia Layer, running the SDL 3.4.18 era, and this exact page is SDL_HINT_VULKAN_DISPLAY(3) β love that for us. mwah, go slay your Vulkan surfaces πππ¦
π¦ 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