Class VkPhysicalDeviceIDProperties.Buffer

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

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

    • Buffer

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

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

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

      public byte deviceUUIDAt(long index, long index0)
      Returns deviceUUID at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      deviceUUID at the given index
    • deviceUUIDAt

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

      public VkPhysicalDeviceIDProperties.Buffer deviceUUIDAt(long index, long index0, byte value)
      Sets deviceUUID 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
    • driverUUIDAt

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

      public byte driverUUIDAt(long index, long index0)
      Returns driverUUID at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      driverUUID at the given index
    • driverUUIDAt

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

      public VkPhysicalDeviceIDProperties.Buffer driverUUIDAt(long index, long index0, byte value)
      Sets driverUUID 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
    • deviceLUIDAt

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

      public byte deviceLUIDAt(long index, long index0)
      Returns deviceLUID at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      deviceLUID at the given index
    • deviceLUIDAt

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

      public VkPhysicalDeviceIDProperties.Buffer deviceLUIDAt(long index, long index0, byte value)
      Sets deviceLUID 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
    • deviceNodeMaskAt

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

      public VkPhysicalDeviceIDProperties.Buffer deviceNodeMaskAt(long index, int value)
      Sets deviceNodeMask with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • deviceLUIDValidAt

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

      public VkPhysicalDeviceIDProperties.Buffer deviceLUIDValidAt(long index, int value)
      Sets deviceLUIDValid with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this