Structures

VkWaylandSurfaceCreateInfoKHR

Structure specifying parameters of a newly created Wayland surface object

The VkWaylandSurfaceCreateInfoKHR structure is defined as:

typedef struct VkWaylandSurfaceCreateInfoKHR {
    VkStructureType sType;
    const void* pNext;
    VkWaylandSurfaceCreateFlagsKHR flags;
    struct wl_display* display;
    struct wl_surface* surface;
} VkWaylandSurfaceCreateInfoKHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • flags is reserved for future use.
  • display and surface are pointers to the Wayland wl_display and wl_surface to associate the surface with.

Valid Usage

VUID-VkWaylandSurfaceCreateInfoKHR-display-01304

display must point to a valid Wayland wl_display

VUID-VkWaylandSurfaceCreateInfoKHR-surface-01305

surface must point to a valid Wayland wl_surface

Valid Usage (Implicit)

VUID-VkWaylandSurfaceCreateInfoKHR-sType-sType

sType must be VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR