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);
pub fn get_physical_device_wayland_presentation_support_khr(
physical_device: vk::PhysicalDevice,
queue_family_index: u32,
display: *mut wl_display,
) -> vk::Bool32;
physicalDeviceis the physical device.queueFamilyIndexis the queue family index.displayis a pointer to thewl_displayassociated 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)
VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-physicalDevice-parameter
physicalDevice must be a valid VkPhysicalDevice handle
VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-display-parameter
display must be a valid pointer to a wl_display value
Parent
VK_KHR_wayland_surfaceType
Function Prototype