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;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.flagsis reserved for future use.displayandsurfaceare pointers to the Waylandwl_displayandwl_surfaceto 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
VUID-VkWaylandSurfaceCreateInfoKHR-pNext-pNext
pNext must be NULL
VUID-VkWaylandSurfaceCreateInfoKHR-flags-zerobitmask
flags must be 0