Class VkPhysicalDeviceBufferDeviceAddressFeatures.Buffer

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

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

    • Buffer

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

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

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

      public VkPhysicalDeviceBufferDeviceAddressFeatures.Buffer bufferDeviceAddressAt(long index, int value)
      Sets bufferDeviceAddress with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • bufferDeviceAddressCaptureReplayAt

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

      public VkPhysicalDeviceBufferDeviceAddressFeatures.Buffer bufferDeviceAddressCaptureReplayAt(long index, int value)
      Sets bufferDeviceAddressCaptureReplay with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • bufferDeviceAddressMultiDeviceAt

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

      public VkPhysicalDeviceBufferDeviceAddressFeatures.Buffer bufferDeviceAddressMultiDeviceAt(long index, int value)
      Sets bufferDeviceAddressMultiDevice with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this