Class VkRefreshObjectListKHR.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
VkRefreshObjectListKHR

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

    • Buffer

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

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

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

      public VkRefreshObjectListKHR.Buffer objectCountAt(long index, int value)
      Sets objectCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pObjectsAt

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

      public VkRefreshObjectListKHR.Buffer pObjectsAt(long index, MemorySegment value)
      Sets pObjects with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this