---
name: "SDL_HINT_VULKAN_DISPLAY"
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_HINT_VULKAN_DISPLAY"
---

# SDL\_HINT\_VULKAN\_DISPLAY(3)

A variable overriding the display index used in SDL\_Vulkan\_CreateSurface ()

## NAME

SDL\_HINT\_VULKAN\_DISPLAY - A variable overriding the display index used in  **SDL\_Vulkan\_CreateSurface** ()

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_VULKAN\_DISPLAY** *SDL\_VULKAN\_DISPLAY"*

## DESCRIPTION

The display index starts at 0, which is the default.

This hint should be set before calling

**SDL\_Vulkan\_CreateSurface** ()

## AVAILABILITY

This hint is available since SDL 3.2.0.
