Module fermium::vulkan[][src]

Functions to make Vulkan and SDL work together.

This is only a basic level of functionality that lets you “turn it on”. For a full Vulkan experience you’ll need a vulkan bindings crate such as ash, or similar.

Structs

VkInstance

Vulkan instance pointer.

VkSurfaceKHR

Vulkan surface handle.

Functions

SDL_Vulkan_CreateSurface

Create a Vulkan rendering surface for a window.

SDL_Vulkan_GetDrawableSize

Get the size of a window’s underlying drawable in pixels (for use with setting viewport, scissor & etc).

SDL_Vulkan_GetInstanceExtensions

Get the names of the Vulkan instance extensions needed to create a surface with SDL_Vulkan_CreateSurface.

SDL_Vulkan_GetVkGetInstanceProcAddr

Get the address of the vkGetInstanceProcAddr function.

SDL_Vulkan_LoadLibrary

Dynamically load a Vulkan loader library.

SDL_Vulkan_UnloadLibrary

Unload the Vulkan loader library previously loaded by SDL_Vulkan_LoadLibrary.

Type Definitions

SDL_vulkanInstance

Alternate type name in some docs.

SDL_vulkanSurface

Alternate type name in some docs.