Class VkVideoEncodeH264SessionParametersFeedbackInfoKHR

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoEncodeH264SessionParametersFeedbackInfoKHR
All Implemented Interfaces:
Addressable
Direct Known Subclasses:
VkVideoEncodeH264SessionParametersFeedbackInfoKHR.Buffer

public sealed class VkVideoEncodeH264SessionParametersFeedbackInfoKHR extends GroupType permits VkVideoEncodeH264SessionParametersFeedbackInfoKHR.Buffer

Layout

struct VkVideoEncodeH264SessionParametersFeedbackInfoKHR {
    (int) VkStructureType sType;
    void* pNext;
    (uint32_t) VkBool32 hasStdSPSOverrides;
    (uint32_t) VkBool32 hasStdPPSOverrides;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkVideoEncodeH264SessionParametersFeedbackInfoKHR.
    • OFFSET_sType

      public static final long OFFSET_sType
      The byte offset of sType.
    • LAYOUT_sType

      public static final MemoryLayout LAYOUT_sType
      The memory layout of sType.
    • VH_sType

      public static final VarHandle VH_sType
      The VarHandle of sType of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pNext

      public static final long OFFSET_pNext
      The byte offset of pNext.
    • LAYOUT_pNext

      public static final MemoryLayout LAYOUT_pNext
      The memory layout of pNext.
    • VH_pNext

      public static final VarHandle VH_pNext
      The VarHandle of pNext of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_hasStdSPSOverrides

      public static final long OFFSET_hasStdSPSOverrides
      The byte offset of hasStdSPSOverrides.
    • LAYOUT_hasStdSPSOverrides

      public static final MemoryLayout LAYOUT_hasStdSPSOverrides
      The memory layout of hasStdSPSOverrides.
    • VH_hasStdSPSOverrides

      public static final VarHandle VH_hasStdSPSOverrides
      The VarHandle of hasStdSPSOverrides of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_hasStdPPSOverrides

      public static final long OFFSET_hasStdPPSOverrides
      The byte offset of hasStdPPSOverrides.
    • LAYOUT_hasStdPPSOverrides

      public static final MemoryLayout LAYOUT_hasStdPPSOverrides
      The memory layout of hasStdPPSOverrides.
    • VH_hasStdPPSOverrides

      public static final VarHandle VH_hasStdPPSOverrides
      The VarHandle of hasStdPPSOverrides of type (MemorySegment base, long baseOffset, long index)MemorySegment.
  • Constructor Details

    • VkVideoEncodeH264SessionParametersFeedbackInfoKHR

      public VkVideoEncodeH264SessionParametersFeedbackInfoKHR(MemorySegment segment)
      Creates VkVideoEncodeH264SessionParametersFeedbackInfoKHR with the given segment.
      Parameters:
      segment - the memory segment
  • Method Details

    • of

      Creates VkVideoEncodeH264SessionParametersFeedbackInfoKHR with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      Creates VkVideoEncodeH264SessionParametersFeedbackInfoKHR with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkVideoEncodeH264SessionParametersFeedbackInfoKHR.Buffer ofNative(MemorySegment segment, long count)

      Creates VkVideoEncodeH264SessionParametersFeedbackInfoKHR with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      count - the count of the buffer
      Returns:
      the created instance or null if the segment is NULL
    • alloc

      Allocates a VkVideoEncodeH264SessionParametersFeedbackInfoKHR with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkVideoEncodeH264SessionParametersFeedbackInfoKHR
    • alloc

      public static VkVideoEncodeH264SessionParametersFeedbackInfoKHR.Buffer alloc(SegmentAllocator allocator, long count)
      Allocates a VkVideoEncodeH264SessionParametersFeedbackInfoKHR with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkVideoEncodeH264SessionParametersFeedbackInfoKHR
    • copyFrom

      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • asBuffer

      Converts this instance to a buffer.
      Returns:
      the buffer
    • sType

      public static int sType(MemorySegment segment, long index)
      Returns sType at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sType

      public int sType()
      Returns sType.
      Returns:
      sType
    • sType

      public static void sType(MemorySegment segment, long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • sType

      Sets sType with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pNext

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

      public MemorySegment pNext()
      Returns pNext.
      Returns:
      pNext
    • pNext

      public static void pNext(MemorySegment segment, long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pNext

      Sets pNext with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • hasStdSPSOverrides

      public static int hasStdSPSOverrides(MemorySegment segment, long index)
      Returns hasStdSPSOverrides at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      hasStdSPSOverrides at the given index
    • hasStdSPSOverrides

      public int hasStdSPSOverrides()
      Returns hasStdSPSOverrides.
      Returns:
      hasStdSPSOverrides
    • hasStdSPSOverrides

      public static void hasStdSPSOverrides(MemorySegment segment, long index, int value)
      Sets hasStdSPSOverrides with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • hasStdSPSOverrides

      public VkVideoEncodeH264SessionParametersFeedbackInfoKHR hasStdSPSOverrides(int value)
      Sets hasStdSPSOverrides with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • hasStdPPSOverrides

      public static int hasStdPPSOverrides(MemorySegment segment, long index)
      Returns hasStdPPSOverrides at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      hasStdPPSOverrides at the given index
    • hasStdPPSOverrides

      public int hasStdPPSOverrides()
      Returns hasStdPPSOverrides.
      Returns:
      hasStdPPSOverrides
    • hasStdPPSOverrides

      public static void hasStdPPSOverrides(MemorySegment segment, long index, int value)
      Sets hasStdPPSOverrides with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • hasStdPPSOverrides

      public VkVideoEncodeH264SessionParametersFeedbackInfoKHR hasStdPPSOverrides(int value)
      Sets hasStdPPSOverrides with the given value.
      Parameters:
      value - the value
      Returns:
      this