Class VkExportSemaphoreWin32HandleInfoKHR.Buffer

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

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

    • Buffer

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

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

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

      public VkExportSemaphoreWin32HandleInfoKHR.Buffer pAttributesAt(long index, MemorySegment value)
      Sets pAttributes with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • dwAccessAt

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

      public VkExportSemaphoreWin32HandleInfoKHR.Buffer dwAccessAt(long index, long value)
      Sets dwAccess 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 VkExportSemaphoreWin32HandleInfoKHR.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