Class VkDeviceMemoryReportCallbackDataEXT.Buffer

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkDeviceMemoryReportCallbackDataEXT
overrungl.vulkan.ext.struct.VkDeviceMemoryReportCallbackDataEXT.Buffer
All Implemented Interfaces:
Addressable
Enclosing class:
VkDeviceMemoryReportCallbackDataEXT

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

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkDeviceMemoryReportCallbackDataEXT.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 VkDeviceMemoryReportCallbackDataEXT asSlice(long index)
      Creates a slice of VkDeviceMemoryReportCallbackDataEXT.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkDeviceMemoryReportCallbackDataEXT
    • asSlice

      public VkDeviceMemoryReportCallbackDataEXT.Buffer asSlice(long index, long count)
      Creates a slice of VkDeviceMemoryReportCallbackDataEXT.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkDeviceMemoryReportCallbackDataEXT
    • 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 VkDeviceMemoryReportCallbackDataEXT.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 VkDeviceMemoryReportCallbackDataEXT.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 VkDeviceMemoryReportCallbackDataEXT.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
    • typeAt

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

      public VkDeviceMemoryReportCallbackDataEXT.Buffer typeAt(long index, int value)
      Sets type with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • memoryObjectIdAt

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

      public VkDeviceMemoryReportCallbackDataEXT.Buffer memoryObjectIdAt(long index, long value)
      Sets memoryObjectId with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • sizeAt

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

      public VkDeviceMemoryReportCallbackDataEXT.Buffer sizeAt(long index, long value)
      Sets size with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • objectTypeAt

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

      public VkDeviceMemoryReportCallbackDataEXT.Buffer objectTypeAt(long index, int value)
      Sets objectType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • objectHandleAt

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

      public VkDeviceMemoryReportCallbackDataEXT.Buffer objectHandleAt(long index, long value)
      Sets objectHandle with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • heapIndexAt

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

      public VkDeviceMemoryReportCallbackDataEXT.Buffer heapIndexAt(long index, int value)
      Sets heapIndex with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this