pWaitSemaphores or pSignalSemaphores was created with a VkSemaphoreType of SEMAPHORE_TYPE_TIMELINE then the pNext chain must include a VkTimelineSemaphoreSubmitInfo structurepNext chain of this structure includes a VkTimelineSemaphoreSubmitInfo structure and any element of pWaitSemaphores was created with a VkSemaphoreType of SEMAPHORE_TYPE_TIMELINE then its waitSemaphoreValueCount member must equal waitSemaphoreCountpNext chain of this structure includes a VkTimelineSemaphoreSubmitInfo structure and any element of pSignalSemaphores was created with a VkSemaphoreType of SEMAPHORE_TYPE_TIMELINE then its signalSemaphoreValueCount member must equal signalSemaphoreCountpSignalSemaphores created with a VkSemaphoreType of SEMAPHORE_TYPE_TIMELINE the corresponding element of VkTimelineSemaphoreSubmitInfo::pSignalSemaphoreValues must have a value greater than the current value of the semaphore when the semaphore signal operation is executedpWaitSemaphores created with a VkSemaphoreType of SEMAPHORE_TYPE_TIMELINE the corresponding element of VkTimelineSemaphoreSubmitInfo::pWaitSemaphoreValues must have a value which does not differ from the current value of the semaphore or from the value of any outstanding semaphore wait or signal operation on that semaphore by more than maxTimelineSemaphoreValueDifferencepSignalSemaphores created with a VkSemaphoreType of SEMAPHORE_TYPE_TIMELINE the corresponding element of VkTimelineSemaphoreSubmitInfo::pSignalSemaphoreValues must have a value which does not differ from the current value of the semaphore or from the value of any outstanding semaphore wait or signal operation on that semaphore by more than maxTimelineSemaphoreValueDifferencesType must be STRUCTURE_TYPE_BIND_SPARSE_INFOpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkDeviceGroupBindSparseInfo, VkFrameBoundaryEXT, or VkTimelineSemaphoreSubmitInfosType value of each struct in the pNext chain must be uniquewaitSemaphoreCount is not 0, pWaitSemaphores must be a valid pointer to an array of waitSemaphoreCount valid VkSemaphore handlesbufferBindCount is not 0, pBufferBinds must be a valid pointer to an array of bufferBindCount valid VkSparseBufferMemoryBindInfo structuresimageOpaqueBindCount is not 0, pImageOpaqueBinds must be a valid pointer to an array of imageOpaqueBindCount valid VkSparseImageOpaqueMemoryBindInfo structuresimageBindCount is not 0, pImageBinds must be a valid pointer to an array of imageBindCount valid VkSparseImageMemoryBindInfo structuressignalSemaphoreCount is not 0, pSignalSemaphores must be a valid pointer to an array of signalSemaphoreCount valid VkSemaphore handlespSignalSemaphores, and the elements of pWaitSemaphores that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDeviceVkSparseBufferMemoryBindInfo, VkSparseImageMemoryBindInfo, VkSparseImageOpaqueMemoryBindInfo, QueueBindSparse
struct VkBindSparseInfo {
VkStructureType sType;
void const * pNext;
uint32_t waitSemaphoreCount;
VkSemaphore const * pWaitSemaphores;
uint32_t bufferBindCount;
VkSparseBufferMemoryBindInfo const * pBufferBinds;
uint32_t imageOpaqueBindCount;
VkSparseImageOpaqueMemoryBindInfo const * pImageOpaqueBinds;
uint32_t imageBindCount;
VkSparseImageMemoryBindInfo const * pImageBinds;
uint32_t signalSemaphoreCount;
VkSemaphore const * pSignalSemaphores;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkBindSparseInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUFFERBINDCOUNT
The struct member offsets. |
| public static final int | IMAGEBINDCOUNT
The struct member offsets. |
| public static final int | IMAGEOPAQUEBINDCOUNT
The struct member offsets. |
| public static final int | PBUFFERBINDS
The struct member offsets. |
| public static final int | PIMAGEBINDS
The struct member offsets. |
| public static final int | PIMAGEOPAQUEBINDS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PSIGNALSEMAPHORES
The struct member offsets. |
| public static final int | PWAITSEMAPHORES
The struct member offsets. |
| public static final int | SIGNALSEMAPHORECOUNT
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 | WAITSEMAPHORECOUNT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkBindSparseInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static VkBindSparseInfo | |
| public static VkBindSparseInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkBindSparseInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBindSparseInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkBindSparseInfo | |
| public static VkBindSparseInfo | |
| public static VkBindSparseInfo. | |
| public static VkBindSparseInfo. | |
| protected VkBindSparseInfo | 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 VkBindSparseInfo | |
| public static VkBindSparseInfo | |
| public static VkBindSparseInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkBindSparseInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkBindSparseInfo | |
| public static VkBindSparseInfo. | |
| public int | |
| public int | |
| public static VkBindSparseInfo | |
| public static VkBindSparseInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkBindSparseInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBindSparseInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkBindSparseInfo | |
| public static VkBindSparseInfo | |
| public static VkBindSparseInfo. | |
| public static VkBindSparseInfo. | |
| public static int | |
| public static void | nbufferBindCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | nimageBindCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | nimageOpaqueBindCount(long struct, int value)
Sets the specified value to the |
| public static VkSparseBufferMemoryBindInfo. | |
| public static void | npBufferBinds(long struct, VkSparseBufferMemoryBindInfo.
Unsafe version of |
| public static VkSparseImageMemoryBindInfo. | |
| public static void | |
| public static VkSparseImageOpaqueMemoryBindInfo. | |
| public static void | npImageOpaqueBinds(long struct, VkSparseImageOpaqueMemoryBindInfo.
Unsafe version of |
| public static long | |
| public static void | |
| public static LongBuffer | |
| public static void | |
| public static LongBuffer | |
| public static void | |
| public static int | |
| public static void | nsignalSemaphoreCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static int | |
| public static void | nwaitSemaphoreCount(long struct, int value)
Sets the specified value to the |
| public VkSparseBufferMemoryBindInfo. | |
| public VkBindSparseInfo | pBufferBinds(VkSparseBufferMemoryBindInfo.
Sets the address of the specified |
| public VkSparseImageMemoryBindInfo. | pImageBinds()
a pointer to an array of |
| public VkBindSparseInfo | pImageBinds(VkSparseImageMemoryBindInfo.
Sets the address of the specified |
| public VkSparseImageOpaqueMemoryBindInfo. | pImageOpaqueBinds()
a pointer to an array of |
| public VkBindSparseInfo | pImageOpaqueBinds(VkSparseImageOpaqueMemoryBindInfo.
Sets the address of the specified |
| public long | |
| public VkBindSparseInfo | |
| public VkBindSparseInfo | pNext(VkDeviceGroupBindSparseInfo value)
Prepends the specified |
| public VkBindSparseInfo | pNext(VkDeviceGroupBindSparseInfoKHR value)
Prepends the specified |
| public VkBindSparseInfo | |
| public VkBindSparseInfo | pNext(VkTimelineSemaphoreSubmitInfo value)
Prepends the specified |
| public VkBindSparseInfo | pNext(VkTimelineSemaphoreSubmitInfoKHR value)
Prepends the specified |
| public LongBuffer | pSignalSemaphores()
a pointer to an array of semaphores which will be signaled when the sparse binding operations for this batch have completed execution. |
| public VkBindSparseInfo | pSignalSemaphores(LongBuffer value)
Sets the address of the specified |
| public LongBuffer | pWaitSemaphores()
a pointer to an array of semaphores upon which to wait on before the sparse binding operations for this batch begin execution. |
| public VkBindSparseInfo | pWaitSemaphores(LongBuffer value)
Sets the address of the specified |
| public VkBindSparseInfo | set(int sType, long pNext, LongBuffer pWaitSemaphores, VkSparseBufferMemoryBindInfo.
Initializes this struct with the specified values. |
| public VkBindSparseInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | signalSemaphoreCount()
the number of semaphores to be signaled once the sparse binding operations specified by the structure have completed execution. |
| public int | |
| public int | |
| public VkBindSparseInfo | |
| public VkBindSparseInfo | |
| public static void | |
| public int | waitSemaphoreCount()
the number of semaphores upon which to wait before executing the sparse binding operations for the batch. |