Structures
VkEventCreateInfo
Structure specifying parameters of a newly created event
The VkEventCreateInfo structure is defined as:
typedef struct VkEventCreateInfo {
VkStructureType sType;
const void* pNext;
VkEventCreateFlags flags;
} VkEventCreateInfo;
pub struct EventCreateInfo {
s_type: vk::StructureType,
p_next: *const c_void,
flags: vk::EventCreateFlags, // Event creation flags
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.flagsis a bitmask of VkEventCreateFlagBits defining additional creation parameters.
Valid Usage
VUID-VkEventCreateInfo-pNext-06790
If the pNext chain includes a
VkExportMetalObjectCreateInfoEXT structure, its
exportObjectType member must be
VK_EXPORT_METAL_OBJECT_TYPE_METAL_SHARED_EVENT_BIT_EXT
Valid Usage (Implicit)
VUID-VkEventCreateInfo-sType-sType
sType must be VK_STRUCTURE_TYPE_EVENT_CREATE_INFO
VUID-VkEventCreateInfo-pNext-pNext
Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkExportMetalObjectCreateInfoEXT or VkImportMetalSharedEventInfoEXT
VUID-VkEventCreateInfo-sType-unique
The sType value of each structure in the pNext chain must be unique, with the exception of structures of type VkExportMetalObjectCreateInfoEXT
VUID-VkEventCreateInfo-flags-parameter
flags must be a valid combination of VkEventCreateFlagBits values
Parent
VK_VERSION_1_0Type
Structures