Class StdVideoAV1QuantizationFlags.Buffer

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

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

    • Buffer

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

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