Class VkVideoEncodeH265QualityLevelPropertiesKHR.Buffer

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

public static class VkVideoEncodeH265QualityLevelPropertiesKHR.Buffer extends StructBuffer<VkVideoEncodeH265QualityLevelPropertiesKHR,VkVideoEncodeH265QualityLevelPropertiesKHR.Buffer> implements NativeResource
  • Constructor Details

    • Buffer

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

    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • preferredRateControlFlags

      public int preferredRateControlFlags()
      Returns:
      the value of the preferredRateControlFlags field.
    • preferredGopFrameCount

      public int preferredGopFrameCount()
      Returns:
      the value of the preferredGopFrameCount field.
    • preferredIdrPeriod

      public int preferredIdrPeriod()
      Returns:
      the value of the preferredIdrPeriod field.
    • preferredConsecutiveBFrameCount

      public int preferredConsecutiveBFrameCount()
      Returns:
      the value of the preferredConsecutiveBFrameCount field.
    • preferredSubLayerCount

      public int preferredSubLayerCount()
      Returns:
      the value of the preferredSubLayerCount field.
    • preferredConstantQp

      public VkVideoEncodeH265QpKHR preferredConstantQp()
      Returns:
      a VkVideoEncodeH265QpKHR view of the preferredConstantQp field.
    • preferredMaxL0ReferenceCount

      public int preferredMaxL0ReferenceCount()
      Returns:
      the value of the preferredMaxL0ReferenceCount field.
    • preferredMaxL1ReferenceCount

      public int preferredMaxL1ReferenceCount()
      Returns:
      the value of the preferredMaxL1ReferenceCount field.
    • sType

      Sets the specified value to the sType field.
    • sType$Default

    • pNext

      Sets the specified value to the pNext field.