semaphore member of both an element of pSignalSemaphoreInfos and pWaitSemaphoreInfos, and that semaphore is a timeline semaphore, the value member of the pSignalSemaphoreInfos element must be greater than the value member of the pWaitSemaphoreInfos elementsemaphore member of any element of pSignalSemaphoreInfos is a timeline semaphore, the value member of that element must have a value greater than the current value of the semaphore when the semaphore signal operation is executedsemaphore member of any element of pSignalSemaphoreInfos is a timeline semaphore, the value member of that element must have a value which does not differ from the current value of the semaphore or the value of any outstanding semaphore wait or signal operation on that semaphore by more than maxTimelineSemaphoreValueDifferencesemaphore member of any element of pWaitSemaphoreInfos is a timeline semaphore, the value member of that element must have a value which does not differ from the current value of the semaphore or the value of any outstanding semaphore wait or signal operation on that semaphore by more than maxTimelineSemaphoreValueDifferenceflags includes SUBMIT_PROTECTED_BIT, all elements of pCommandBuffers must be protected command buffersflags does not include SUBMIT_PROTECTED_BIT, each element of pCommandBuffers must not be a protected command buffercommandBuffer member of an element of pCommandBufferInfos contains any resumed render pass instances, they must be suspended by a render pass instance earlier in submission order within pCommandBufferInfoscommandBuffer member of an element of pCommandBufferInfos contains any suspended render pass instances, they must be resumed by a render pass instance later in submission order within pCommandBufferInfoscommandBuffer member of an element of pCommandBufferInfos contains any suspended render pass instances, there must be no action or synchronization commands between that render pass instance and the render pass instance that resumes itcommandBuffer member of an element of pCommandBufferInfos contains any suspended render pass instances, there must be no render pass instances between that render pass instance and the render pass instance that resumes itvariableSampleLocations limit is not supported, and any commandBuffer member of an element of pCommandBufferInfos contains any suspended render pass instances, where a graphics pipeline has been bound, any pipelines bound in the render pass instance that resumes it, or any subsequent render pass instances that resume from that one and so on, must use the same sample locationssType must be STRUCTURE_TYPE_SUBMIT_INFO_2pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkFrameBoundaryEXT, VkPerformanceQuerySubmitInfoKHR, VkWin32KeyedMutexAcquireReleaseInfoKHR, or VkWin32KeyedMutexAcquireReleaseInfoNVsType value of each struct in the pNext chain must be uniqueflags must be a valid combination of VkSubmitFlagBits valueswaitSemaphoreInfoCount is not 0, pWaitSemaphoreInfos must be a valid pointer to an array of waitSemaphoreInfoCount valid VkSemaphoreSubmitInfo structurescommandBufferInfoCount is not 0, pCommandBufferInfos must be a valid pointer to an array of commandBufferInfoCount valid VkCommandBufferSubmitInfo structuressignalSemaphoreInfoCount is not 0, pSignalSemaphoreInfos must be a valid pointer to an array of signalSemaphoreInfoCount valid VkSemaphoreSubmitInfo structuresVkCommandBufferSubmitInfo, VkSemaphoreSubmitInfo, QueueSubmit2, QueueSubmit2KHR
struct VkSubmitInfo2 {
VkStructureType sType;
void const * pNext;
VkSubmitFlags flags;
uint32_t waitSemaphoreInfoCount;
VkSemaphoreSubmitInfo const * pWaitSemaphoreInfos;
uint32_t commandBufferInfoCount;
VkCommandBufferSubmitInfo const * pCommandBufferInfos;
uint32_t signalSemaphoreInfoCount;
VkSemaphoreSubmitInfo const * pSignalSemaphoreInfos;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkSubmitInfo2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COMMANDBUFFERINFOCOUNT
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PCOMMANDBUFFERINFOS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PSIGNALSEMAPHOREINFOS
The struct member offsets. |
| public static final int | PWAITSEMAPHOREINFOS
The struct member offsets. |
| public static final int | SIGNALSEMAPHOREINFOCOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | WAITSEMAPHOREINFOCOUNT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkSubmitInfo2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkSubmitInfo2 | |
| public static VkSubmitInfo2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkSubmitInfo2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSubmitInfo2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | commandBufferInfoCount()
the number of elements in |
| protected VkSubmitInfo2 | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkSubmitInfo2 | |
| public static VkSubmitInfo2 | |
| public static VkSubmitInfo2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkSubmitInfo2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkSubmitInfo2 | |
| public static VkSubmitInfo2. | |
| public int | |
| public VkSubmitInfo2 | |
| public static VkSubmitInfo2 | |
| public static VkSubmitInfo2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkSubmitInfo2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSubmitInfo2. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | ncommandBufferInfoCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static VkCommandBufferSubmitInfo. | |
| public static void | npCommandBufferInfos(long struct, VkCommandBufferSubmitInfo.
Unsafe version of |
| public static long | |
| public static void | |
| public static VkSemaphoreSubmitInfo. | |
| public static void | npSignalSemaphoreInfos(long struct, VkSemaphoreSubmitInfo.
Unsafe version of |
| public static VkSemaphoreSubmitInfo. | |
| public static void | npWaitSemaphoreInfos(long struct, VkSemaphoreSubmitInfo.
Unsafe version of |
| public static int | |
| public static void | nsignalSemaphoreInfoCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static int | |
| public static void | nwaitSemaphoreInfoCount(long struct, int value)
Sets the specified value to the |
| public VkCommandBufferSubmitInfo. | pCommandBufferInfos()
a pointer to an array of |
| public VkSubmitInfo2 | pCommandBufferInfos(VkCommandBufferSubmitInfo.
Sets the address of the specified |
| public long | |
| public VkSubmitInfo2 | |
| public VkSubmitInfo2 | |
| public VkSubmitInfo2 | pNext(VkPerformanceQuerySubmitInfoKHR value)
Prepends the specified |
| public VkSubmitInfo2 | pNext(VkWin32KeyedMutexAcquireReleaseInfoKHR value)
Prepends the specified |
| public VkSubmitInfo2 | pNext(VkWin32KeyedMutexAcquireReleaseInfoNV value)
Prepends the specified |
| public VkSemaphoreSubmitInfo. | pSignalSemaphoreInfos()
a pointer to an array of |
| public VkSubmitInfo2 | pSignalSemaphoreInfos(VkSemaphoreSubmitInfo.
Sets the address of the specified |
| public VkSemaphoreSubmitInfo. | pWaitSemaphoreInfos()
a pointer to an array of |
| public VkSubmitInfo2 | pWaitSemaphoreInfos(VkSemaphoreSubmitInfo.
Sets the address of the specified |
| public VkSubmitInfo2 | set(int sType, long pNext, int flags, VkSemaphoreSubmitInfo.
Initializes this struct with the specified values. |
| public VkSubmitInfo2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public int | |
| public VkSubmitInfo2 | |
| public VkSubmitInfo2 | |
| public static void | |
| public int |