chickadee » sdl2 » vulkan-create-surface

vulkan-create-surface window vkinstance vksurface-outprocedure

See SDL_Vulkan_CreateSurface.

  • vkinstance must be a pointer to a VkInstance.
  • vksurface-out must be a pointer to a VkSurfaceKHR, which will be modified.

Signals an exception of kind (exn sdl2) if an error occurs.

Requires SDL 2.0.6 or higher, and sdl2 egg 0.4.0 or higher.