SDL_Vulkan_GetPresentationSupport

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.

extern (C) nothrow @nogc extern
bool
SDL_Vulkan_GetPresentationSupport

Parameters

instance VkInstance

The Vulkan instance handle.

physicalDevice VkPhysicalDevice

A valid Vulkan physical device handle.

queueFamilyIndex Uint32

A valid queue family index for the given physical device.

Return Value

Type: bool

true if supported, false if unsupported or an error occurred.

See Also

Meta