SDL_Vulkan_GetPresentationSupport(3)

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.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.