Class VkVideoEncodeCapabilitiesKHR.Buffer

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

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

    • Buffer

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

      public int flags()
      Returns:
      the value of the flags field.
    • rateControlModes

      public int rateControlModes()
      Returns:
      the value of the rateControlModes field.
    • maxRateControlLayers

      public int maxRateControlLayers()
      Returns:
      the value of the maxRateControlLayers field.
    • maxBitrate

      public long maxBitrate()
      Returns:
      the value of the maxBitrate field.
    • maxQualityLevels

      public int maxQualityLevels()
      Returns:
      the value of the maxQualityLevels field.
    • encodeInputPictureGranularity

      public VkExtent2D encodeInputPictureGranularity()
      Returns:
      a VkExtent2D view of the encodeInputPictureGranularity field.
    • supportedEncodeFeedbackFlags

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

      public VkVideoEncodeCapabilitiesKHR.Buffer sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkVideoEncodeCapabilitiesKHR.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR value to the sType field.
    • pNext

      public VkVideoEncodeCapabilitiesKHR.Buffer pNext(long value)
      Sets the specified value to the pNext field.