Class VkPhysicalDevice4444FormatsFeaturesEXT.Buffer

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

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

    • Buffer

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

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

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

      public VkPhysicalDevice4444FormatsFeaturesEXT.Buffer formatA4R4G4B4At(long index, int value)
      Sets formatA4R4G4B4 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • formatA4B4G4R4At

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

      public VkPhysicalDevice4444FormatsFeaturesEXT.Buffer formatA4B4G4R4At(long index, int value)
      Sets formatA4B4G4R4 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this