Class VkApplicationInfo.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
VkApplicationInfo

public static final class VkApplicationInfo.Buffer extends VkApplicationInfo
A buffer of VkApplicationInfo.
  • Constructor Details

    • Buffer

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

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

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

      public VkApplicationInfo.Buffer pApplicationNameAt(long index, MemorySegment value)
      Sets pApplicationName with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • applicationVersionAt

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

      public VkApplicationInfo.Buffer applicationVersionAt(long index, int value)
      Sets applicationVersion with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pEngineNameAt

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

      public VkApplicationInfo.Buffer pEngineNameAt(long index, MemorySegment value)
      Sets pEngineName with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • engineVersionAt

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

      public VkApplicationInfo.Buffer engineVersionAt(long index, int value)
      Sets engineVersion with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • apiVersionAt

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

      public VkApplicationInfo.Buffer apiVersionAt(long index, int value)
      Sets apiVersion with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this