Class VkCopyImageToImageInfo.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
VkCopyImageToImageInfo

public static final class VkCopyImageToImageInfo.Buffer extends VkCopyImageToImageInfo
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkCopyImageToImageInfo.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count
  • Method Details

    • estimateCount

      public long estimateCount()
      Description copied from class: GroupType
      Estimates the element count of this group type buffer.
      Overrides:
      estimateCount in class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public VkCopyImageToImageInfo asSlice(long index)
      Creates a slice of VkCopyImageToImageInfo.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkCopyImageToImageInfo
    • asSlice

      public VkCopyImageToImageInfo.Buffer asSlice(long index, long count)
      Creates a slice of VkCopyImageToImageInfo.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkCopyImageToImageInfo
    • sTypeAt

      public int sTypeAt(long index)
      Returns sType at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sTypeAt

      public VkCopyImageToImageInfo.Buffer sTypeAt(long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pNextAt

      public MemorySegment pNextAt(long index)
      Returns pNext at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNextAt

      public VkCopyImageToImageInfo.Buffer pNextAt(long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • flagsAt

      public int flagsAt(long index)
      Returns flags at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      flags at the given index
    • flagsAt

      public VkCopyImageToImageInfo.Buffer flagsAt(long index, int value)
      Sets flags with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • srcImageAt

      public long srcImageAt(long index)
      Returns srcImage at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      srcImage at the given index
    • srcImageAt

      public VkCopyImageToImageInfo.Buffer srcImageAt(long index, long value)
      Sets srcImage with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • srcImageLayoutAt

      public int srcImageLayoutAt(long index)
      Returns srcImageLayout at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      srcImageLayout at the given index
    • srcImageLayoutAt

      public VkCopyImageToImageInfo.Buffer srcImageLayoutAt(long index, int value)
      Sets srcImageLayout with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • dstImageAt

      public long dstImageAt(long index)
      Returns dstImage at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      dstImage at the given index
    • dstImageAt

      public VkCopyImageToImageInfo.Buffer dstImageAt(long index, long value)
      Sets dstImage with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • dstImageLayoutAt

      public int dstImageLayoutAt(long index)
      Returns dstImageLayout at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      dstImageLayout at the given index
    • dstImageLayoutAt

      public VkCopyImageToImageInfo.Buffer dstImageLayoutAt(long index, int value)
      Sets dstImageLayout with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • regionCountAt

      public int regionCountAt(long index)
      Returns regionCount at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      regionCount at the given index
    • regionCountAt

      public VkCopyImageToImageInfo.Buffer regionCountAt(long index, int value)
      Sets regionCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pRegionsAt

      public MemorySegment pRegionsAt(long index)
      Returns pRegions at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pRegions at the given index
    • pRegionsAt

      public VkCopyImageToImageInfo.Buffer pRegionsAt(long index, MemorySegment value)
      Sets pRegions with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this