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_UnloadLibrary - Unload the Vulkan library previously loaded by SDL_Vulkan_LoadLibrary ().

Availability

       This function is available since SDL 3.2.0.

Description

       SDL  keeps a counter of how many times this function has been called, so it is safe to call this function
       multiple times, so long as it is paired with an equivalent number of calls to

       SDL_Vulkan_LoadLibrary . The library isn't actually unloaded until there have been an  equivalent  number
       of calls to

       SDL_Vulkan_UnloadLibrary .

       Once  the  library has actually been unloaded, if any Vulkan instances remain, they will likely crash the
       program. Clean up any existing Vulkan resources, and  destroy  appropriate  windows,  renderers  and  GPU
       devices before calling this function.

Header File

       Defined in SDL3/SDL_vulkan.h

Name

       SDL_Vulkan_UnloadLibrary - Unload the Vulkan library previously loaded by SDL_Vulkan_LoadLibrary ().

See Also

(3), SDL_Vulkan_LoadLibrary(3)

Simple Directmedia Layer                           SDL 3.2.10                        SDL_Vulkan_UnloadLibrary(3)

Synopsis

#include"SDL3/SDL.h"voidSDL_Vulkan_UnloadLibrary(void);

Thread Safety

       This function is not thread safe.

See Also