Class VkVideoEncodeAV1QIndexKHR.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkVideoEncodeAV1QIndexKHR>, NativeResource, Pointer
Enclosing class:
VkVideoEncodeAV1QIndexKHR

public static class VkVideoEncodeAV1QIndexKHR.Buffer extends StructBuffer<VkVideoEncodeAV1QIndexKHR,VkVideoEncodeAV1QIndexKHR.Buffer> implements NativeResource
An array of VkVideoEncodeAV1QIndexKHR structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkVideoEncodeAV1QIndexKHR.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkVideoEncodeAV1QIndexKHR.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • intraQIndex

      public int intraQIndex()
      Returns:
      the value of the intraQIndex field.
    • predictiveQIndex

      public int predictiveQIndex()
      Returns:
      the value of the predictiveQIndex field.
    • bipredictiveQIndex

      public int bipredictiveQIndex()
      Returns:
      the value of the bipredictiveQIndex field.
    • intraQIndex

      public VkVideoEncodeAV1QIndexKHR.Buffer intraQIndex(int value)
      Sets the specified value to the intraQIndex field.
    • predictiveQIndex

      public VkVideoEncodeAV1QIndexKHR.Buffer predictiveQIndex(int value)
      Sets the specified value to the predictiveQIndex field.
    • bipredictiveQIndex

      public VkVideoEncodeAV1QIndexKHR.Buffer bipredictiveQIndex(int value)
      Sets the specified value to the bipredictiveQIndex field.