Class VkDispatchGraphCountInfoAMDX.Buffer

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

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

    • Buffer

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

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

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

      public VkDispatchGraphCountInfoAMDX.Buffer countAt(long index, int value)
      Sets count with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • infosAt

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

      public VkDispatchGraphCountInfoAMDX.Buffer infosAt(long index, MemorySegment value)
      Sets infos with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • strideAt

      public long strideAt(long index)
      Returns stride at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      stride at the given index
    • strideAt

      public VkDispatchGraphCountInfoAMDX.Buffer strideAt(long index, long value)
      Sets stride with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this