Class VkVideoDecodeH264ProfileInfoKHR

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

public sealed class VkVideoDecodeH264ProfileInfoKHR extends GroupType permits VkVideoDecodeH264ProfileInfoKHR.Buffer

Layout

struct VkVideoDecodeH264ProfileInfoKHR {
    (int) VkStructureType sType;
    const void* pNext;
    (int) StdVideoH264ProfileIdc stdProfileIdc;
    (int) VkVideoDecodeH264PictureLayoutFlagBitsKHR pictureLayout;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkVideoDecodeH264ProfileInfoKHR.
    • 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_stdProfileIdc

      public static final long OFFSET_stdProfileIdc
      The byte offset of stdProfileIdc.
    • LAYOUT_stdProfileIdc

      public static final MemoryLayout LAYOUT_stdProfileIdc
      The memory layout of stdProfileIdc.
    • VH_stdProfileIdc

      public static final VarHandle VH_stdProfileIdc
      The VarHandle of stdProfileIdc of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pictureLayout

      public static final long OFFSET_pictureLayout
      The byte offset of pictureLayout.
    • LAYOUT_pictureLayout

      public static final MemoryLayout LAYOUT_pictureLayout
      The memory layout of pictureLayout.
    • VH_pictureLayout

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

    • VkVideoDecodeH264ProfileInfoKHR

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

    • of

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

      public static VkVideoDecodeH264ProfileInfoKHR ofNative(MemorySegment segment)

      Creates VkVideoDecodeH264ProfileInfoKHR 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 VkVideoDecodeH264ProfileInfoKHR.Buffer ofNative(MemorySegment segment, long count)

      Creates VkVideoDecodeH264ProfileInfoKHR 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

      public static VkVideoDecodeH264ProfileInfoKHR alloc(SegmentAllocator allocator)
      Allocates a VkVideoDecodeH264ProfileInfoKHR with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkVideoDecodeH264ProfileInfoKHR
    • alloc

      public static VkVideoDecodeH264ProfileInfoKHR.Buffer alloc(SegmentAllocator allocator, long count)
      Allocates a VkVideoDecodeH264ProfileInfoKHR with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkVideoDecodeH264ProfileInfoKHR
    • 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

      public VkVideoDecodeH264ProfileInfoKHR sType(int value)
      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
    • stdProfileIdc

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

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

      public static void stdProfileIdc(MemorySegment segment, long index, int value)
      Sets stdProfileIdc 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
    • stdProfileIdc

      public VkVideoDecodeH264ProfileInfoKHR stdProfileIdc(int value)
      Sets stdProfileIdc with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pictureLayout

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

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

      public static void pictureLayout(MemorySegment segment, long index, int value)
      Sets pictureLayout 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
    • pictureLayout

      public VkVideoDecodeH264ProfileInfoKHR pictureLayout(int value)
      Sets pictureLayout with the given value.
      Parameters:
      value - the value
      Returns:
      this