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
isNULL
or a pointer to a structure extending this structure.flags
is reserved for future use.display
andsurface
are pointers to the Waylandwl_display
andwl_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
VUID-VkWaylandSurfaceCreateInfoKHR-pNext-pNext
pNext
must be NULL
VUID-VkWaylandSurfaceCreateInfoKHR-flags-zerobitmask
flags
must be 0