Class VkPhysicalDeviceTensorFeaturesARM.Buffer

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

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

    • Buffer

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

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

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

      public VkPhysicalDeviceTensorFeaturesARM.Buffer tensorNonPackedAt(long index, int value)
      Sets tensorNonPacked with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • shaderTensorAccessAt

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

      public VkPhysicalDeviceTensorFeaturesARM.Buffer shaderTensorAccessAt(long index, int value)
      Sets shaderTensorAccess with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • shaderStorageTensorArrayDynamicIndexingAt

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

      public VkPhysicalDeviceTensorFeaturesARM.Buffer shaderStorageTensorArrayDynamicIndexingAt(long index, int value)
      Sets shaderStorageTensorArrayDynamicIndexing with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • shaderStorageTensorArrayNonUniformIndexingAt

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

      public VkPhysicalDeviceTensorFeaturesARM.Buffer shaderStorageTensorArrayNonUniformIndexingAt(long index, int value)
      Sets shaderStorageTensorArrayNonUniformIndexing with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • descriptorBindingStorageTensorUpdateAfterBindAt

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

      public VkPhysicalDeviceTensorFeaturesARM.Buffer descriptorBindingStorageTensorUpdateAfterBindAt(long index, int value)
      Sets descriptorBindingStorageTensorUpdateAfterBind with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • tensorsAt

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

      public VkPhysicalDeviceTensorFeaturesARM.Buffer tensorsAt(long index, int value)
      Sets tensors with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this