gfx.vulkan.wsi

Vulkan Window System Integration module

The Vulkan backend supports integration with the following windowing systems:

  • Linux
    • <a href="https://code.dlang.org/packages/wayland">Wayland</a>
    • <a href="https://code.dlang.org/packages/xcb-d">XCB</a>
  • Windows
  • <a href="https://www.glfw.org/docs/3.3/vulkan_guide.html">GLFW</a> via <a href="https://code.dlang.org/packages/bindbc-glfw">bindbc-glfw</a>

Members

Classes

VulkanSurface
class VulkanSurface
Undocumented in source.
VulkanSwapchain
class VulkanSwapchain
Undocumented in source.

Functions

createVulkanGlfwSurface
Surface createVulkanGlfwSurface(Instance graalInst, GLFWwindow* window)
Undocumented in source. Be warned that the author may not have intended to support it.
createVulkanWaylandSurface
Surface createVulkanWaylandSurface(Instance graalInst, WlDisplay wlDpy, WlSurface wlSurf)
Undocumented in source. Be warned that the author may not have intended to support it.
createVulkanWin32Surface
Surface createVulkanWin32Surface(Instance graalInst, HINSTANCE hinstance, HWND hwnd)
Undocumented in source. Be warned that the author may not have intended to support it.
createVulkanXcbSurface
Surface createVulkanXcbSurface(Instance graalInst, xcb_connection_t* conn, xcb_window_t win)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwCreateWindowSurface
VkResult glfwCreateWindowSurface(VkInstance , GLFWwindow* , const(VkAllocationCallbacks)* , VkSurfaceKHR* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
glfwGetRequiredInstanceExtensions
const(char)** glfwGetRequiredInstanceExtensions(uint* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

surfaceInstanceExtension
enum surfaceInstanceExtension;
Undocumented in source.
swapChainDeviceExtension
enum swapChainDeviceExtension;
Undocumented in source.
waylandSurfaceInstanceExtension
enum waylandSurfaceInstanceExtension;
Undocumented in source.
win32SurfaceInstanceExtension
enum win32SurfaceInstanceExtension;
Undocumented in source.
xcbSurfaceInstanceExtension
enum xcbSurfaceInstanceExtension;
Undocumented in source.

Properties

glfwInstanceExtensions
immutable(string[]) glfwInstanceExtensions [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSurfaceInstanceExtensions
immutable(string[]) glfwSurfaceInstanceExtensions [@property getter]

Extensions necessary to open a GLFW Vulkan surface

surfaceInstanceExtensions
immutable(string[]) surfaceInstanceExtensions [@property getter]

Extensions necessary to open Vulkan surfaces on the platform window system

Variables

waylandSurfaceInstanceExtensions
string[] waylandSurfaceInstanceExtensions;

Extensions necessary to open a Wayland Vulkan surface

win32SurfaceInstanceExtensions
string[] win32SurfaceInstanceExtensions;

Extensions necessary to open a Win32 Vulkan surface

xcbSurfaceInstanceExtensions
string[] xcbSurfaceInstanceExtensions;

Extensions necessary to open an XCB Vulkan surface

Meta