Class VkOpticalFlowSessionCreatePrivateDataInfoNV.Buffer

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

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

    • Buffer

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

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

      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • idAt

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

      public VkOpticalFlowSessionCreatePrivateDataInfoNV.Buffer idAt(long index, int value)
      Sets id with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • sizeAt

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

      public VkOpticalFlowSessionCreatePrivateDataInfoNV.Buffer sizeAt(long index, int value)
      Sets size with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pPrivateDataAt

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

      public VkOpticalFlowSessionCreatePrivateDataInfoNV.Buffer pPrivateDataAt(long index, MemorySegment value)
      Sets pPrivateData with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this