C Specification
The VkSubmitInfo2KHR
structure is defined as:
// Provided by VK_KHR_synchronization2
typedef struct VkSubmitInfo2KHR {
VkStructureType sType;
const void* pNext;
VkSubmitFlagsKHR flags;
uint32_t waitSemaphoreInfoCount;
const VkSemaphoreSubmitInfoKHR* pWaitSemaphoreInfos;
uint32_t commandBufferInfoCount;
const VkCommandBufferSubmitInfoKHR* pCommandBufferInfos;
uint32_t signalSemaphoreInfoCount;
const VkSemaphoreSubmitInfoKHR* pSignalSemaphoreInfos;
} VkSubmitInfo2KHR;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
flags
is a bitmask of VkSubmitFlagBitsKHR. -
waitSemaphoreInfoCount
is the number of elements inpWaitSemaphoreInfos
. -
pWaitSemaphoreInfos
is a pointer to an array of VkSemaphoreSubmitInfoKHR structures defining semaphore wait operations. -
commandBufferInfoCount
is the number of elements inpCommandBufferInfos
and the number of command buffers to execute in the batch. -
pCommandBufferInfos
is a pointer to an array of VkCommandBufferSubmitInfoKHR structures describing command buffers to execute in the batch. -
signalSemaphoreInfoCount
is the number of elements inpSignalSemaphoreInfos
. -
pSignalSemaphoreInfos
is a pointer to an array of VkSemaphoreSubmitInfoKHR describing semaphore signal operations.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.