Class VkVideoEncodeH264FrameSizeKHR.Buffer

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

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

    • Buffer

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

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

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

      public VkVideoEncodeH264FrameSizeKHR.Buffer frameISizeAt(long index, int value)
      Sets frameISize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • framePSizeAt

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

      public VkVideoEncodeH264FrameSizeKHR.Buffer framePSizeAt(long index, int value)
      Sets framePSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • frameBSizeAt

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

      public VkVideoEncodeH264FrameSizeKHR.Buffer frameBSizeAt(long index, int value)
      Sets frameBSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this