Class VkPhysicalDeviceDataGraphProcessingEngineARM.Buffer

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

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

    • Buffer

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

      public VkPhysicalDeviceDataGraphProcessingEngineARM.Buffer asSlice(long index, long count)
      Creates a slice of VkPhysicalDeviceDataGraphProcessingEngineARM.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkPhysicalDeviceDataGraphProcessingEngineARM
    • typeAt

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

      public VkPhysicalDeviceDataGraphProcessingEngineARM.Buffer typeAt(long index, int value)
      Sets type with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • isForeignAt

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

      public VkPhysicalDeviceDataGraphProcessingEngineARM.Buffer isForeignAt(long index, int value)
      Sets isForeign with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this