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

SDL_Vulkan_GetPresentationSupport - Query support for presentation via a given physical device and queue family.

Defined in SDL3/SDL_vulkan.h

#include "SDL3/SDL.h"
bool SDL_Vulkan_GetPresentationSupport(VkInstance instance,
                                           VkPhysicalDevice physicalDevice,
                                           Uint32 queueFamilyIndex);

The instance must have been created with extensions returned by

SDL_Vulkan_GetInstanceExtensions () enabled.

the Vulkan instance handle.
a valid Vulkan physical device handle.
a valid queue family index for the given physical device.

Returns true if supported, false if unsupported or an error occurred.

This function is available since SDL 3.2.0.

(3), SDL_Vulkan_GetInstanceExtensions(3)

SDL 3.2.10 Simple Directmedia Layer