Class VkSRTDataNV.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
VkSRTDataNV

public static final class VkSRTDataNV.Buffer extends VkSRTDataNV
A buffer of VkSRTDataNV.
  • Constructor Details

    • Buffer

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

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

      public float sxAt(long index)
      Returns sx at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      sx at the given index
    • sxAt

      public VkSRTDataNV.Buffer sxAt(long index, float value)
      Sets sx with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • aAt

      public float aAt(long index)
      Returns a at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      a at the given index
    • aAt

      public VkSRTDataNV.Buffer aAt(long index, float value)
      Sets a with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • bAt

      public float bAt(long index)
      Returns b at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      b at the given index
    • bAt

      public VkSRTDataNV.Buffer bAt(long index, float value)
      Sets b with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pvxAt

      public float pvxAt(long index)
      Returns pvx at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pvx at the given index
    • pvxAt

      public VkSRTDataNV.Buffer pvxAt(long index, float value)
      Sets pvx with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • syAt

      public float syAt(long index)
      Returns sy at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      sy at the given index
    • syAt

      public VkSRTDataNV.Buffer syAt(long index, float value)
      Sets sy with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • cAt

      public float cAt(long index)
      Returns c at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      c at the given index
    • cAt

      public VkSRTDataNV.Buffer cAt(long index, float value)
      Sets c with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pvyAt

      public float pvyAt(long index)
      Returns pvy at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pvy at the given index
    • pvyAt

      public VkSRTDataNV.Buffer pvyAt(long index, float value)
      Sets pvy with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • szAt

      public float szAt(long index)
      Returns sz at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      sz at the given index
    • szAt

      public VkSRTDataNV.Buffer szAt(long index, float value)
      Sets sz with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pvzAt

      public float pvzAt(long index)
      Returns pvz at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pvz at the given index
    • pvzAt

      public VkSRTDataNV.Buffer pvzAt(long index, float value)
      Sets pvz with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • qxAt

      public float qxAt(long index)
      Returns qx at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      qx at the given index
    • qxAt

      public VkSRTDataNV.Buffer qxAt(long index, float value)
      Sets qx with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • qyAt

      public float qyAt(long index)
      Returns qy at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      qy at the given index
    • qyAt

      public VkSRTDataNV.Buffer qyAt(long index, float value)
      Sets qy with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • qzAt

      public float qzAt(long index)
      Returns qz at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      qz at the given index
    • qzAt

      public VkSRTDataNV.Buffer qzAt(long index, float value)
      Sets qz with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • qwAt

      public float qwAt(long index)
      Returns qw at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      qw at the given index
    • qwAt

      public VkSRTDataNV.Buffer qwAt(long index, float value)
      Sets qw with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • txAt

      public float txAt(long index)
      Returns tx at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      tx at the given index
    • txAt

      public VkSRTDataNV.Buffer txAt(long index, float value)
      Sets tx with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • tyAt

      public float tyAt(long index)
      Returns ty at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      ty at the given index
    • tyAt

      public VkSRTDataNV.Buffer tyAt(long index, float value)
      Sets ty with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • tzAt

      public float tzAt(long index)
      Returns tz at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      tz at the given index
    • tzAt

      public VkSRTDataNV.Buffer tzAt(long index, float value)
      Sets tz with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this