Class VkWaylandSurfaceCreateInfoKHR.Buffer

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

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

    • Buffer

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

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

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

      public VkWaylandSurfaceCreateInfoKHR.Buffer displayAt(long index, MemorySegment value)
      Sets display with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • surfaceAt

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

      public VkWaylandSurfaceCreateInfoKHR.Buffer surfaceAt(long index, MemorySegment value)
      Sets surface with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this