Class VkPhysicalDeviceMaintenance9PropertiesKHR.Buffer

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

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

    • Buffer

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

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

      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • image2DViewOf3DSparseAt

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

      public VkPhysicalDeviceMaintenance9PropertiesKHR.Buffer image2DViewOf3DSparseAt(long index, int value)
      Sets image2DViewOf3DSparse with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • defaultVertexAttributeValueAt

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

      public VkPhysicalDeviceMaintenance9PropertiesKHR.Buffer defaultVertexAttributeValueAt(long index, int value)
      Sets defaultVertexAttributeValue with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this