Class VkBindSparseInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkBindSparseInfo extends Struct<VkBindSparseInfo> implements NativeResource
Structure specifying a sparse binding operation.
Valid Usage
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_BIND_SPARSE_INFO
  • 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 VkDeviceGroupBindSparseInfo, VkFrameBoundaryEXT, or VkTimelineSemaphoreSubmitInfo
  • The sType value of each struct in the pNext chain must be unique
  • If waitSemaphoreCount is not 0, pWaitSemaphores must be a valid pointer to an array of waitSemaphoreCount valid VkSemaphore handles
  • If bufferBindCount is not 0, pBufferBinds must be a valid pointer to an array of bufferBindCount valid VkSparseBufferMemoryBindInfo structures
  • If imageOpaqueBindCount is not 0, pImageOpaqueBinds must be a valid pointer to an array of imageOpaqueBindCount valid VkSparseImageOpaqueMemoryBindInfo structures
  • If imageBindCount is not 0, pImageBinds must be a valid pointer to an array of imageBindCount valid VkSparseImageMemoryBindInfo structures
  • If signalSemaphoreCount is not 0, pSignalSemaphores must be a valid pointer to an array of signalSemaphoreCount valid VkSemaphore handles
  • Both of the elements of pSignalSemaphores, and the elements of pWaitSemaphores that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice
See Also

VkSparseBufferMemoryBindInfo, VkSparseImageMemoryBindInfo, VkSparseImageOpaqueMemoryBindInfo, QueueBindSparse

Layout


 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();
 }