Class VkImageViewSampleWeightCreateInfoQCOM.Buffer

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

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

    • Buffer

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

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

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

      public VkImageViewSampleWeightCreateInfoQCOM.Buffer filterCenterAt(long index, MemorySegment value)
      Sets filterCenter with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • filterSizeAt

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

      public VkImageViewSampleWeightCreateInfoQCOM.Buffer filterSizeAt(long index, MemorySegment value)
      Sets filterSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • numPhasesAt

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

      public VkImageViewSampleWeightCreateInfoQCOM.Buffer numPhasesAt(long index, int value)
      Sets numPhases with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this