Class VkAcquireNextImageInfoKHR.Buffer

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

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

    • Buffer

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

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

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

      public VkAcquireNextImageInfoKHR.Buffer swapchainAt(long index, long value)
      Sets swapchain with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • timeoutAt

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

      public VkAcquireNextImageInfoKHR.Buffer timeoutAt(long index, long value)
      Sets timeout 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 VkAcquireNextImageInfoKHR.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
    • 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 VkAcquireNextImageInfoKHR.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
    • deviceMaskAt

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

      public VkAcquireNextImageInfoKHR.Buffer deviceMaskAt(long index, int value)
      Sets deviceMask with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this