---
name: "SDL_Vulkan_GetPresentationSupport"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_Vulkan_GetPresentationSupport"
---

# SDL\_Vulkan\_GetPresentationSupport(3)

Query support for presentation via a given physical device and queue family.

## NAME

SDL\_Vulkan\_GetPresentationSupport - 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

**•**(3), [**SDL\_Vulkan\_GetInstanceExtensions**(3)](/SDL_Vulkan_GetInstanceExtensions/3.md)
