Class VkVideoEncodeH264RateControlLayerInfoKHR.Buffer

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

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

    • Buffer

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

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

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

      public VkVideoEncodeH264RateControlLayerInfoKHR.Buffer useMinQpAt(long index, int value)
      Sets useMinQp with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • minQpAt

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

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

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

      public VkVideoEncodeH264RateControlLayerInfoKHR.Buffer useMaxQpAt(long index, int value)
      Sets useMaxQp with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • maxQpAt

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

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

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

      public VkVideoEncodeH264RateControlLayerInfoKHR.Buffer useMaxFrameSizeAt(long index, int value)
      Sets useMaxFrameSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • maxFrameSizeAt

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

      public VkVideoEncodeH264RateControlLayerInfoKHR.Buffer maxFrameSizeAt(long index, MemorySegment value)
      Sets maxFrameSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this