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;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • flags is 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 struct 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