Class VkSparseImageMemoryBindInfo

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

    public class VkSparseImageMemoryBindInfo
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying sparse image memory bind info.
    Valid Usage
    • The subresource.mipLevel member of each element of pBinds must be less than the mipLevels specified in VkImageCreateInfo when image was created
    • The subresource.arrayLayer member of each element of pBinds must be less than the arrayLayers specified in VkImageCreateInfo when image was created
    Valid Usage (Implicit)
    • image must be a valid VkImage handle
    • pBinds must be a valid pointer to an array of bindCount valid VkSparseImageMemoryBind structures
    • bindCount must be greater than 0
    See Also

    VkBindSparseInfo, VkSparseImageMemoryBind

    Member documentation

    Layout

    
     struct VkSparseImageMemoryBindInfo {
         VkImage image;
         uint32_t bindCount;
         VkSparseImageMemoryBind const * pBinds;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

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

        The struct member offsets.
    • Constructor Detail

      • VkSparseImageMemoryBindInfo

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