Table of Contents

Class SdlVulkan

Namespace
BSGameLib.Sdl3.Interop.Manual
Assembly
BSGameLib.Sdl3.Interop.dll

SDL3's Vulkan functions, bound by hand: they sit behind a platform guard in SDL's headers, so the generator doesn't see them. Vulkan handles are passed as plain integers.

public static class SdlVulkan
Inheritance
SdlVulkan
Inherited Members

Methods

SDL_Vulkan_CreateSurface(SDL_Window*, ulong, void*, ulong*)

public static extern bool SDL_Vulkan_CreateSurface(SDL_Window* window, ulong instance, void* allocator, ulong* surface)

Parameters

window SDL_Window*
instance ulong
allocator void*
surface ulong*

Returns

bool

SDL_Vulkan_GetInstanceExtensions(uint*)

public static extern sbyte** SDL_Vulkan_GetInstanceExtensions(uint* count)

Parameters

count uint*

Returns

sbyte**

SDL_Vulkan_LoadLibrary(string)

Calls SDL3's SDL_Vulkan_LoadLibrary.

public static extern bool SDL_Vulkan_LoadLibrary(string path)

Parameters

path string

Returns

bool

SDL_Vulkan_UnloadLibrary()

public static extern void SDL_Vulkan_UnloadLibrary()