logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_Vulkan_GetVkGetInstanceProcAddr - Get the address of the vkGetInstanceProcAddr function.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20             SDL_Vulkan_GetVkGetInstanceProcAddr(3)

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();

Name

       SDL_Vulkan_GetVkGetInstanceProcAddr - Get the address of the vkGetInstanceProcAddr function.

Return Value

       Returns the function pointer for vkGetInstanceProcAddr or NULL on failure; call SDL_GetError()  for  more
       information.

Synopsis

#include<SDL3/SDL_vulkan.h>SDL_FunctionPointerSDL_Vulkan_GetVkGetInstanceProcAddr(void);

See Also