SDL_Vulkan_GetPresentationSupport3
Query support for presentation via a given physical device and queue family.
Usage
#include "SDL3/SDL.h"
bool SDL_Vulkan_GetPresentationSupport(VkInstance instance, VkPhysicalDevice physicalDevice, Uint32 queueFamilyIndex);
Header file
Defined in SDL3/SDL_vulkan.h
Overview
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.