Class VkVideoEncodeRateControlLayerInfoKHR.Buffer

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

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

    • Buffer

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

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

      public long averageBitrateAt(long index)
      Returns averageBitrate at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      averageBitrate at the given index
    • averageBitrateAt

      public VkVideoEncodeRateControlLayerInfoKHR.Buffer averageBitrateAt(long index, long value)
      Sets averageBitrate with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • maxBitrateAt

      public long maxBitrateAt(long index)
      Returns maxBitrate at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      maxBitrate at the given index
    • maxBitrateAt

      public VkVideoEncodeRateControlLayerInfoKHR.Buffer maxBitrateAt(long index, long value)
      Sets maxBitrate with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • frameRateNumeratorAt

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

      public VkVideoEncodeRateControlLayerInfoKHR.Buffer frameRateNumeratorAt(long index, int value)
      Sets frameRateNumerator with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • frameRateDenominatorAt

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

      public VkVideoEncodeRateControlLayerInfoKHR.Buffer frameRateDenominatorAt(long index, int value)
      Sets frameRateDenominator with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this