sdl.vulkan

SDL Vulkan

Members

Aliases

VkInstance
alias VkInstance = OpaqueHandle!("VkInstance")

A vulkan instance handle.

VkPhysicalDevice
alias VkPhysicalDevice = OpaqueHandle!("VkPhysicalDevice")

A vulkan Physical Device handle.

VkSurfaceKHR
alias VkSurfaceKHR = OpaqueHandle!("VkSurfaceKHR")

A Vulkan Surface handle.

Functions

SDL_Vulkan_CreateSurface
bool SDL_Vulkan_CreateSurface(SDL_Window* window, VkInstance instance, const(VkAllocationCallbacks)* allocator, VkSurfaceKHR* surface)

Create a Vulkan rendering surface for a window.

SDL_Vulkan_DestroySurface
void SDL_Vulkan_DestroySurface(VkInstance instance, VkSurfaceKHR surface, const(VkAllocationCallbacks)* allocator)

Destroy the Vulkan rendering surface of a window.

SDL_Vulkan_GetInstanceExtensions
const(const(char)*)* SDL_Vulkan_GetInstanceExtensions(Uint32* count)

Get the Vulkan instance extensions needed for vkCreateInstance.

SDL_Vulkan_GetPresentationSupport
bool SDL_Vulkan_GetPresentationSupport(VkInstance instance, VkPhysicalDevice physicalDevice, Uint32 queueFamilyIndex)

Query support for presentation via a given physical device and queue family.

SDL_Vulkan_GetVkGetInstanceProcAddr
SDL_FunctionPointer SDL_Vulkan_GetVkGetInstanceProcAddr()

Get the address of the vkGetInstanceProcAddr function.

SDL_Vulkan_LoadLibrary
bool SDL_Vulkan_LoadLibrary(const(char)* path)

Dynamically load the Vulkan loader library.

SDL_Vulkan_UnloadLibrary
void SDL_Vulkan_UnloadLibrary()

Unload the Vulkan library previously loaded by SDL_Vulkan_LoadLibrary().

Structs

VkAllocationCallbacks
struct VkAllocationCallbacks

Opaque allocation callbacks handle

See Also

Meta

License

Subject to the terms of the Zlib License, as written in the LICENSE file.

Authors

Luna Nielsen