Class VkImportSemaphoreFdInfoKHR.Buffer

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

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

    • Buffer

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

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

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

      public VkImportSemaphoreFdInfoKHR.Buffer semaphoreAt(long index, long value)
      Sets semaphore 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 VkImportSemaphoreFdInfoKHR.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 VkImportSemaphoreFdInfoKHR.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
    • fdAt

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

      public VkImportSemaphoreFdInfoKHR.Buffer fdAt(long index, int value)
      Sets fd with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this