Class VkFrameBoundaryEXT

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

public sealed class VkFrameBoundaryEXT extends GroupType permits VkFrameBoundaryEXT.Buffer

Layout

struct VkFrameBoundaryEXT {
    (int) VkStructureType sType;
    const void* pNext;
    ((uint32_t) VkFlags) VkFrameBoundaryFlagsEXT flags;
    uint64_t frameID;
    uint32_t imageCount;
    const VkImage* pImages;
    uint32_t bufferCount;
    const VkBuffer* pBuffers;
    uint64_t tagName;
    size_t tagSize;
    const void* pTag;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_flags
      The byte offset of flags.
    • LAYOUT_flags

      public static final MemoryLayout LAYOUT_flags
      The memory layout of flags.
    • VH_flags

      public static final VarHandle VH_flags
      The VarHandle of flags of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_frameID

      public static final long OFFSET_frameID
      The byte offset of frameID.
    • LAYOUT_frameID

      public static final MemoryLayout LAYOUT_frameID
      The memory layout of frameID.
    • VH_frameID

      public static final VarHandle VH_frameID
      The VarHandle of frameID of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_imageCount

      public static final long OFFSET_imageCount
      The byte offset of imageCount.
    • LAYOUT_imageCount

      public static final MemoryLayout LAYOUT_imageCount
      The memory layout of imageCount.
    • VH_imageCount

      public static final VarHandle VH_imageCount
      The VarHandle of imageCount of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pImages

      public static final long OFFSET_pImages
      The byte offset of pImages.
    • LAYOUT_pImages

      public static final MemoryLayout LAYOUT_pImages
      The memory layout of pImages.
    • VH_pImages

      public static final VarHandle VH_pImages
      The VarHandle of pImages of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_bufferCount

      public static final long OFFSET_bufferCount
      The byte offset of bufferCount.
    • LAYOUT_bufferCount

      public static final MemoryLayout LAYOUT_bufferCount
      The memory layout of bufferCount.
    • VH_bufferCount

      public static final VarHandle VH_bufferCount
      The VarHandle of bufferCount of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pBuffers

      public static final long OFFSET_pBuffers
      The byte offset of pBuffers.
    • LAYOUT_pBuffers

      public static final MemoryLayout LAYOUT_pBuffers
      The memory layout of pBuffers.
    • VH_pBuffers

      public static final VarHandle VH_pBuffers
      The VarHandle of pBuffers of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_tagName

      public static final long OFFSET_tagName
      The byte offset of tagName.
    • LAYOUT_tagName

      public static final MemoryLayout LAYOUT_tagName
      The memory layout of tagName.
    • VH_tagName

      public static final VarHandle VH_tagName
      The VarHandle of tagName of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_tagSize

      public static final long OFFSET_tagSize
      The byte offset of tagSize.
    • LAYOUT_tagSize

      public static final MemoryLayout LAYOUT_tagSize
      The memory layout of tagSize.
    • VH_tagSize

      public static final VarHandle VH_tagSize
      The VarHandle of tagSize of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pTag

      public static final long OFFSET_pTag
      The byte offset of pTag.
    • LAYOUT_pTag

      public static final MemoryLayout LAYOUT_pTag
      The memory layout of pTag.
    • VH_pTag

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

    • VkFrameBoundaryEXT

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

    • of

      public static VkFrameBoundaryEXT.Buffer of(MemorySegment segment)
      Creates VkFrameBoundaryEXT with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkFrameBoundaryEXT ofNative(MemorySegment segment)

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

      Creates VkFrameBoundaryEXT 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 VkFrameBoundaryEXT alloc(SegmentAllocator allocator)
      Allocates a VkFrameBoundaryEXT with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkFrameBoundaryEXT
    • alloc

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

      public VkFrameBoundaryEXT copyFrom(VkFrameBoundaryEXT src)
      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • asBuffer

      public VkFrameBoundaryEXT.Buffer 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 VkFrameBoundaryEXT 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

      public VkFrameBoundaryEXT pNext(MemorySegment value)
      Sets pNext with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • flags

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

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

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

      public VkFrameBoundaryEXT flags(int value)
      Sets flags with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • frameID

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

      public long frameID()
      Returns frameID.
      Returns:
      frameID
    • frameID

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

      public VkFrameBoundaryEXT frameID(long value)
      Sets frameID with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • imageCount

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

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

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

      public VkFrameBoundaryEXT imageCount(int value)
      Sets imageCount with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pImages

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

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

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

      public VkFrameBoundaryEXT pImages(MemorySegment value)
      Sets pImages with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • bufferCount

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

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

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

      public VkFrameBoundaryEXT bufferCount(int value)
      Sets bufferCount with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pBuffers

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

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

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

      public VkFrameBoundaryEXT pBuffers(MemorySegment value)
      Sets pBuffers with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • tagName

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

      public long tagName()
      Returns tagName.
      Returns:
      tagName
    • tagName

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

      public VkFrameBoundaryEXT tagName(long value)
      Sets tagName with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • tagSize

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

      public long tagSize()
      Returns tagSize.
      Returns:
      tagSize
    • tagSize

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

      public VkFrameBoundaryEXT tagSize(long value)
      Sets tagSize with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pTag

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

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

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

      public VkFrameBoundaryEXT pTag(MemorySegment value)
      Sets pTag with the given value.
      Parameters:
      value - the value
      Returns:
      this