(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_Vulkan_GetVkGetInstanceProcAddr

Get the address of the vkGetInstanceProcAddr function.

Header File

Defined in SDL_vulkan.h

Syntax

void* SDL_Vulkan_GetVkGetInstanceProcAddr(void);

Return Value

Returns the function pointer for vkGetInstanceProcAddr or NULL on error.

Remarks

This should be called after either calling SDL_Vulkan_LoadLibrary() or creating an SDL_Window with the SDL_WINDOW_VULKAN flag.

Version

This function is available since SDL 2.0.6.


CategoryAPI, CategoryAPIFunction, CategoryVulkan