Skip to content

SdlVulkanUnloadLibrary

Unload the Vulkan library previously loaded by SdlVulkanLoadLibrary.

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 SdlVulkanLoadLibrary. The library isn't actually unloaded until there have been an equivalent number of calls to SdlVulkanUnloadLibrary.

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.

Definition

Unit: Neslib.Sdl3.Video

procedure SdlVulkanUnloadLibrary; inline

See Also

Remarks

This routine is not thread safe.