Class VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer

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

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

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.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

      Creates a slice of VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
    • asSlice

      Creates a slice of VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
    • 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

      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
    • dimensionAt

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

      public VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer dimensionAt(long index, int value)
      Sets dimension with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • zeroCountAt

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

      public VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer zeroCountAt(long index, int value)
      Sets zeroCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • groupSizeAt

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

      public VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer groupSizeAt(long index, int value)
      Sets groupSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this