Class VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer

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

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

    • Buffer

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

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

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

      public VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer useGopRemainingFramesAt(long index, int value)
      Sets useGopRemainingFrames with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • gopRemainingIntraAt

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

      public VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer gopRemainingIntraAt(long index, int value)
      Sets gopRemainingIntra with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • gopRemainingPredictiveAt

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

      public VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer gopRemainingPredictiveAt(long index, int value)
      Sets gopRemainingPredictive with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • gopRemainingBipredictiveAt

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

      public VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer gopRemainingBipredictiveAt(long index, int value)
      Sets gopRemainingBipredictive with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this