Class VkVideoEncodeH265FrameSizeKHR.Buffer

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

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

    • Buffer

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

    • frameISize

      public int frameISize()
      Returns:
      the value of the frameISize field.
    • framePSize

      public int framePSize()
      Returns:
      the value of the framePSize field.
    • frameBSize

      public int frameBSize()
      Returns:
      the value of the frameBSize field.
    • frameISize

      public VkVideoEncodeH265FrameSizeKHR.Buffer frameISize(int value)
      Sets the specified value to the frameISize field.
    • framePSize

      public VkVideoEncodeH265FrameSizeKHR.Buffer framePSize(int value)
      Sets the specified value to the framePSize field.
    • frameBSize

      public VkVideoEncodeH265FrameSizeKHR.Buffer frameBSize(int value)
      Sets the specified value to the frameBSize field.