Structures
VkXcbSurfaceCreateInfoKHR
Structure specifying parameters of a newly created Xcb surface object
The VkXcbSurfaceCreateInfoKHR
structure is defined as:
typedef struct VkXcbSurfaceCreateInfoKHR {
VkStructureType sType;
const void* pNext;
VkXcbSurfaceCreateFlagsKHR flags;
xcb_connection_t* connection;
xcb_window_t window;
} VkXcbSurfaceCreateInfoKHR;
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.connection
is a pointer to anxcb_connection_t
to the X server.window
is thexcb_window_t
for the X11 window to associate the surface with.
Valid Usage
VUID-VkXcbSurfaceCreateInfoKHR-connection-01310
connection
must point to a valid X11 xcb_connection_t
VUID-VkXcbSurfaceCreateInfoKHR-window-01311
window
must be a valid X11 xcb_window_t
Valid Usage (Implicit)
VUID-VkXcbSurfaceCreateInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR
VUID-VkXcbSurfaceCreateInfoKHR-pNext-pNext
pNext
must be NULL
VUID-VkXcbSurfaceCreateInfoKHR-flags-zerobitmask
flags
must be 0