---
name: "SDL_Vulkan_GetVkGetInstanceProcAddr"
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_GetVkGetInstanceProcAddr"
---

# SDL\_Vulkan\_GetVkGetInstanceProcAddr(3)

Get the address of the vkGetInstanceProcAddr function.

## NAME

SDL\_Vulkan\_GetVkGetInstanceProcAddr - Get the address of the **vkGetInstanceProcAddr** function.

## HEADER FILE

Defined in SDL3/SDL\_vulkan.h

## SYNOPSIS

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

**SDL\_FunctionPointer SDL\_Vulkan\_GetVkGetInstanceProcAddr(void);**

## DESCRIPTION

This should be called after either calling

**SDL\_Vulkan\_LoadLibrary** () or creating an

**SDL\_Window**\
  with the  **SDL\_WINDOW\_VULKAN** flag.

The actual type of the returned function pointer is PFN\_vkGetInstanceProcAddr, but that isn't available because the Vulkan headers are not included here. You should cast the return value of this function to that type, e.g. **vkGetInstanceProcAddr**= (PFN\_vkGetInstanceProcAddr)SDL\_Vulkan\_GetVkGetInstanceProcAddr();

## RETURN VALUE

( **SDL\_FunctionPointer** ) Returns the function pointer for **vkGetInstanceProcAddr** or NULL on failure; call

**SDL\_GetError** () for more information.

## AVAILABILITY

This function is available since SDL 3.2.0.
