Class VkImportFenceWin32HandleInfoKHR.Buffer

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

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

    • Buffer

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

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

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

      public VkImportFenceWin32HandleInfoKHR.Buffer fenceAt(long index, long value)
      Sets fence 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 VkImportFenceWin32HandleInfoKHR.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
    • 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 VkImportFenceWin32HandleInfoKHR.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
    • handleAt

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

      public VkImportFenceWin32HandleInfoKHR.Buffer handleAt(long index, MemorySegment value)
      Sets handle with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • nameAt

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

      public VkImportFenceWin32HandleInfoKHR.Buffer nameAt(long index, MemorySegment value)
      Sets name with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this