Class VkVideoSessionCreateInfoKHR.Buffer

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoSessionCreateInfoKHR
overrungl.vulkan.khr.struct.VkVideoSessionCreateInfoKHR.Buffer
All Implemented Interfaces:
Addressable
Enclosing class:
VkVideoSessionCreateInfoKHR

public static final class VkVideoSessionCreateInfoKHR.Buffer extends VkVideoSessionCreateInfoKHR
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkVideoSessionCreateInfoKHR.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count
  • Method Details

    • estimateCount

      public long estimateCount()
      Description copied from class: GroupType
      Estimates the element count of this group type buffer.
      Overrides:
      estimateCount in class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public VkVideoSessionCreateInfoKHR asSlice(long index)
      Creates a slice of VkVideoSessionCreateInfoKHR.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkVideoSessionCreateInfoKHR
    • asSlice

      public VkVideoSessionCreateInfoKHR.Buffer asSlice(long index, long count)
      Creates a slice of VkVideoSessionCreateInfoKHR.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkVideoSessionCreateInfoKHR
    • sTypeAt

      public int sTypeAt(long index)
      Returns sType at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sTypeAt

      public VkVideoSessionCreateInfoKHR.Buffer sTypeAt(long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pNextAt

      public MemorySegment pNextAt(long index)
      Returns pNext at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNextAt

      public VkVideoSessionCreateInfoKHR.Buffer pNextAt(long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • queueFamilyIndexAt

      public int queueFamilyIndexAt(long index)
      Returns queueFamilyIndex at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      queueFamilyIndex at the given index
    • queueFamilyIndexAt

      public VkVideoSessionCreateInfoKHR.Buffer queueFamilyIndexAt(long index, int value)
      Sets queueFamilyIndex with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • flagsAt

      public int flagsAt(long index)
      Returns flags at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      flags at the given index
    • flagsAt

      public VkVideoSessionCreateInfoKHR.Buffer flagsAt(long index, int value)
      Sets flags with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pVideoProfileAt

      public MemorySegment pVideoProfileAt(long index)
      Returns pVideoProfile at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pVideoProfile at the given index
    • pVideoProfileAt

      public VkVideoSessionCreateInfoKHR.Buffer pVideoProfileAt(long index, MemorySegment value)
      Sets pVideoProfile with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pictureFormatAt

      public int pictureFormatAt(long index)
      Returns pictureFormat at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pictureFormat at the given index
    • pictureFormatAt

      public VkVideoSessionCreateInfoKHR.Buffer pictureFormatAt(long index, int value)
      Sets pictureFormat with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • maxCodedExtentAt

      public MemorySegment maxCodedExtentAt(long index)
      Returns maxCodedExtent at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      maxCodedExtent at the given index
    • maxCodedExtentAt

      public VkVideoSessionCreateInfoKHR.Buffer maxCodedExtentAt(long index, MemorySegment value)
      Sets maxCodedExtent with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • referencePictureFormatAt

      public int referencePictureFormatAt(long index)
      Returns referencePictureFormat at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      referencePictureFormat at the given index
    • referencePictureFormatAt

      public VkVideoSessionCreateInfoKHR.Buffer referencePictureFormatAt(long index, int value)
      Sets referencePictureFormat with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • maxDpbSlotsAt

      public int maxDpbSlotsAt(long index)
      Returns maxDpbSlots at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      maxDpbSlots at the given index
    • maxDpbSlotsAt

      public VkVideoSessionCreateInfoKHR.Buffer maxDpbSlotsAt(long index, int value)
      Sets maxDpbSlots with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • maxActiveReferencePicturesAt

      public int maxActiveReferencePicturesAt(long index)
      Returns maxActiveReferencePictures at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      maxActiveReferencePictures at the given index
    • maxActiveReferencePicturesAt

      public VkVideoSessionCreateInfoKHR.Buffer maxActiveReferencePicturesAt(long index, int value)
      Sets maxActiveReferencePictures with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pStdHeaderVersionAt

      public MemorySegment pStdHeaderVersionAt(long index)
      Returns pStdHeaderVersion at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pStdHeaderVersion at the given index
    • pStdHeaderVersionAt

      public VkVideoSessionCreateInfoKHR.Buffer pStdHeaderVersionAt(long index, MemorySegment value)
      Sets pStdHeaderVersion with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this