Class VkMemoryGetZirconHandleInfoFUCHSIA.Buffer

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

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

    • Buffer

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

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

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

      public VkMemoryGetZirconHandleInfoFUCHSIA.Buffer memoryAt(long index, long value)
      Sets memory with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • handleTypeAt

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

      public VkMemoryGetZirconHandleInfoFUCHSIA.Buffer handleTypeAt(long index, int value)
      Sets handleType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this