Function SDL_Vulkan_GetPresentationSupport
pub unsafe extern "C" fn SDL_Vulkan_GetPresentationSupport(
instance: *mut __VkInstance,
physicalDevice: *mut __VkPhysicalDevice,
queueFamilyIndex: u32,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Query support for presentation via a given physical device and queue family.
The instance
must have been created with extensions returned by
SDL_Vulkan_GetInstanceExtensions()
enabled.
§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.