Class VkSparseBufferMemoryBindInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkSparseBufferMemoryBindInfo
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying a sparse buffer memory bind operation.
    Valid Usage (Implicit)
    • buffer must be a valid VkBuffer handle
    • pBinds must be a valid pointer to an array of bindCount valid VkSparseMemoryBind structures
    • bindCount must be greater than 0
    See Also

    VkBindSparseInfo, VkSparseMemoryBind

    Member documentation

    • buffer – the VkBuffer object to be bound.
    • bindCount – the number of VkSparseMemoryBind structures in the pBinds array.
    • pBinds – a pointer to array of VkSparseMemoryBind structures.

    Layout

    
     struct VkSparseBufferMemoryBindInfo {
         VkBuffer buffer;
         uint32_t bindCount;
         VkSparseMemoryBind const * pBinds;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • BUFFER, BINDCOUNT, PBINDS

        The struct member offsets.
    • Constructor Detail

      • VkSparseBufferMemoryBindInfo

        public VkSparseBufferMemoryBindInfo​(java.nio.ByteBuffer container)
        Creates a VkSparseBufferMemoryBindInfo 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.