Structures
VkXlibSurfaceCreateInfoKHR
Structure specifying parameters of a newly created Xlib surface object
The VkXlibSurfaceCreateInfoKHR structure is defined as:
typedef struct VkXlibSurfaceCreateInfoKHR {
VkStructureType sType;
const void* pNext;
VkXlibSurfaceCreateFlagsKHR flags;
Display* dpy;
Window window;
} VkXlibSurfaceCreateInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.flagsis reserved for future use.dpyis a pointer to an XlibDisplayconnection to the X server.windowis an XlibWindowto associate the surface with.
Valid Usage
VUID-VkXlibSurfaceCreateInfoKHR-dpy-01313
dpy must point to a valid Xlib Display
VUID-VkXlibSurfaceCreateInfoKHR-window-01314
window must be a valid Xlib Window
Valid Usage (Implicit)
VUID-VkXlibSurfaceCreateInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR
VUID-VkXlibSurfaceCreateInfoKHR-pNext-pNext
pNext must be NULL
VUID-VkXlibSurfaceCreateInfoKHR-flags-zerobitmask
flags must be 0