Query support for presentation via a given physical device and queue family.
Defined in <SDL3/SDL_vulkan.h>
bool SDL_Vulkan_GetPresentationSupport(VkInstance instance,
VkPhysicalDevice physicalDevice, Uint32 queueFamilyIndex);
VkInstance | instance | the Vulkan instance handle. |
VkPhysicalDevice | physicalDevice | a valid Vulkan physical device handle. |
Uint32 | queueFamilyIndex | a valid queue family index for the given physical device. |
(bool) Returns true if supported, false if unsupported or an error occurred.
The instance
must have been created with extensions returned by SDL_Vulkan_GetInstanceExtensions() enabled.
This function is available since SDL 3.1.3.