Class VkPhysicalDeviceGroupProperties.Buffer

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

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

    • Buffer

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

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

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

      public VkPhysicalDeviceGroupProperties.Buffer physicalDeviceCountAt(long index, int value)
      Sets physicalDeviceCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • physicalDevicesAt

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

      public MemorySegment physicalDevicesAt(long index, long index0)
      Returns physicalDevices at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      physicalDevices at the given index
    • physicalDevicesAt

      public VkPhysicalDeviceGroupProperties.Buffer physicalDevicesAt(long index, MemorySegment value)
      Sets physicalDevices with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • physicalDevicesAt

      public VkPhysicalDeviceGroupProperties.Buffer physicalDevicesAt(long index, long index0, MemorySegment value)
      Sets physicalDevices with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • subsetAllocationAt

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

      public VkPhysicalDeviceGroupProperties.Buffer subsetAllocationAt(long index, int value)
      Sets subsetAllocation with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this