SDL_Vulkan_GetPresentationSupport - Query support for presentation via a given physical device and queue
Contents
Availability
This function is available since SDL 3.2.0.
Description
The instance must have been created with extensions returned by
SDL_Vulkan_GetInstanceExtensions () enabled.
Function Parameters
instance
the Vulkan instance handle.
physicalDevice
a valid Vulkan physical device handle.
queueFamilyIndex
a valid queue family index for the given physical device.
Header File
Defined in SDL3/SDL_vulkan.h
Name
SDL_Vulkan_GetPresentationSupport - Query support for presentation via a given physical device and queue
family.
Return Value
Returns true if supported, false if unsupported or an error occurred.
See Also
•(3), SDL_Vulkan_GetInstanceExtensions(3) Simple Directmedia Layer SDL 3.2.10 SDL_Vulkan_GetPresentationSupport(3)
Synopsis
#include"SDL3/SDL.h"boolSDL_Vulkan_GetPresentationSupport(VkInstanceinstance,VkPhysicalDevicephysicalDevice,Uint32queueFamilyIndex);
