Class VkVideoEncodeUsageInfoKHR.Buffer

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

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

    • Buffer

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

      public int videoUsageHints()
      Returns:
      the value of the videoUsageHints field.
    • videoContentHints

      public int videoContentHints()
      Returns:
      the value of the videoContentHints field.
    • tuningMode

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

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

      public VkVideoEncodeUsageInfoKHR.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR value to the sType field.
    • pNext

      public VkVideoEncodeUsageInfoKHR.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • videoUsageHints

      public VkVideoEncodeUsageInfoKHR.Buffer videoUsageHints(int value)
      Sets the specified value to the videoUsageHints field.
    • videoContentHints

      public VkVideoEncodeUsageInfoKHR.Buffer videoContentHints(int value)
      Sets the specified value to the videoContentHints field.
    • tuningMode

      public VkVideoEncodeUsageInfoKHR.Buffer tuningMode(int value)
      Sets the specified value to the tuningMode field.