DOKK / manpages / debian 13 / libsdl3-doc / SDL_HINT_VULKAN_DISPLAY.3.en
SDL_HINT_VULKAN_DISPLAY(3) SDL3 FUNCTIONS SDL_HINT_VULKAN_DISPLAY(3)

SDL_HINT_VULKAN_DISPLAY - A variable overriding the display index used in SDL_Vulkan_CreateSurface ()

Defined in SDL3/SDL_hints.h

#include "SDL3/SDL.h"
#define SDL_HINT_VULKAN_DISPLAY SDL_VULKAN_DISPLAY"

The display index starts at 0, which is the default.

This hint should be set before calling

SDL_Vulkan_CreateSurface ()

This hint is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer