SDL_Vulkan_GetPresentationSupport - Man Page
Query support for presentation via a given physical device and queue family.
Header File
Defined in SDL3/SDL_vulkan.h
Synopsis
#include "SDL3/SDL.h" bool SDL_Vulkan_GetPresentationSupport(VkInstance instance, VkPhysicalDevice physicalDevice, Uint32 queueFamilyIndex);
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.
Return Value
Returns true if supported, false if unsupported or an error occurred.
Availability
This function is available since SDL 3.2.0.
See Also
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS