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

      @NativeType("VkStructureType") public int sType()
      Returns:
      the value of the sType field.
    • pNext

      @NativeType("void *") public long pNext()
      Returns:
      the value of the pNext field.
    • preferredRateControlFlags

      @NativeType("VkVideoEncodeH265RateControlFlagsKHR") public int preferredRateControlFlags()
      Returns:
      the value of the preferredRateControlFlags field.
    • preferredGopFrameCount

      @NativeType("uint32_t") public int preferredGopFrameCount()
      Returns:
      the value of the preferredGopFrameCount field.
    • preferredIdrPeriod

      @NativeType("uint32_t") public int preferredIdrPeriod()
      Returns:
      the value of the preferredIdrPeriod field.
    • preferredConsecutiveBFrameCount

      @NativeType("uint32_t") public int preferredConsecutiveBFrameCount()
      Returns:
      the value of the preferredConsecutiveBFrameCount field.
    • preferredSubLayerCount

      @NativeType("uint32_t") public int preferredSubLayerCount()
      Returns:
      the value of the preferredSubLayerCount field.
    • preferredConstantQp

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

      @NativeType("uint32_t") public int preferredMaxL0ReferenceCount()
      Returns:
      the value of the preferredMaxL0ReferenceCount field.
    • preferredMaxL1ReferenceCount

      @NativeType("uint32_t") public int preferredMaxL1ReferenceCount()
      Returns:
      the value of the preferredMaxL1ReferenceCount field.
    • sType

      public VkVideoEncodeH265QualityLevelPropertiesKHR.Buffer sType(@NativeType("VkStructureType") int value)
      Sets the specified value to the sType field.
    • sType$Default

    • pNext

      Sets the specified value to the pNext field.