Class VkBindSparseInfo

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkBindSparseInfo>
org.lwjgl.vulkan.VkBindSparseInfo
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkBindSparseInfo extends org.lwjgl.system.Struct<VkBindSparseInfo> implements org.lwjgl.system.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();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • WAITSEMAPHORECOUNT

      public static final int WAITSEMAPHORECOUNT
      The struct member offsets.
    • PWAITSEMAPHORES

      public static final int PWAITSEMAPHORES
      The struct member offsets.
    • BUFFERBINDCOUNT

      public static final int BUFFERBINDCOUNT
      The struct member offsets.
    • PBUFFERBINDS

      public static final int PBUFFERBINDS
      The struct member offsets.
    • IMAGEOPAQUEBINDCOUNT

      public static final int IMAGEOPAQUEBINDCOUNT
      The struct member offsets.
    • PIMAGEOPAQUEBINDS

      public static final int PIMAGEOPAQUEBINDS
      The struct member offsets.
    • IMAGEBINDCOUNT

      public static final int IMAGEBINDCOUNT
      The struct member offsets.
    • PIMAGEBINDS

      public static final int PIMAGEBINDS
      The struct member offsets.
    • SIGNALSEMAPHORECOUNT

      public static final int SIGNALSEMAPHORECOUNT
      The struct member offsets.
    • PSIGNALSEMAPHORES

      public static final int PSIGNALSEMAPHORES
      The struct member offsets.
  • Constructor Details

    • VkBindSparseInfo

      public VkBindSparseInfo(ByteBuffer container)
      Creates a VkBindSparseInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details