Function Prototype

vkGetPhysicalDeviceWaylandPresentationSupportKHR

Query physical device for presentation to Wayland

To determine whether a queue family of a physical device supports presentation to a Wayland compositor, call:

VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR(
    VkPhysicalDevice physicalDevice,
    uint32_t queueFamilyIndex,
    struct wl_display* display);
  • physicalDevice is the physical device.
  • queueFamilyIndex is the queue family index.
  • display is a pointer to the wl_display associated with a Wayland compositor.

This platform-specific function can be called prior to creating a surface.

Valid Usage

VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-queueFamilyIndex-01306

queueFamilyIndex must be less than pQueueFamilyPropertyCount returned by vkGetPhysicalDeviceQueueFamilyProperties for the given physicalDevice

Valid Usage (Implicit)