Class VkVideoEncodeH264QpKHR.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkVideoEncodeH264QpKHR.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 VkVideoEncodeH264QpKHR.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

    • qpI

      public int qpI()
      Returns:
      the value of the qpI field.
    • qpP

      public int qpP()
      Returns:
      the value of the qpP field.
    • qpB

      public int qpB()
      Returns:
      the value of the qpB field.
    • qpI

      public VkVideoEncodeH264QpKHR.Buffer qpI(int value)
      Sets the specified value to the qpI field.
    • qpP

      public VkVideoEncodeH264QpKHR.Buffer qpP(int value)
      Sets the specified value to the qpP field.
    • qpB

      public VkVideoEncodeH264QpKHR.Buffer qpB(int value)
      Sets the specified value to the qpB field.