Class VkPhysicalDeviceRobustness2FeaturesEXT.Buffer

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

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

    • Buffer

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

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

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

      public VkPhysicalDeviceRobustness2FeaturesEXT.Buffer robustBufferAccess2At(long index, int value)
      Sets robustBufferAccess2 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • robustImageAccess2At

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

      public VkPhysicalDeviceRobustness2FeaturesEXT.Buffer robustImageAccess2At(long index, int value)
      Sets robustImageAccess2 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • nullDescriptorAt

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

      public VkPhysicalDeviceRobustness2FeaturesEXT.Buffer nullDescriptorAt(long index, int value)
      Sets nullDescriptor with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this