Class VkFrameBoundaryEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkFrameBoundaryEXT
- All Implemented Interfaces:
Addressable
Represents VkFrameBoundaryEXT.
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkFrameBoundaryEXT.static final MemoryLayoutThe memory layout ofbufferCount.static final MemoryLayoutThe memory layout offlags.static final MemoryLayoutThe memory layout offrameID.static final MemoryLayoutThe memory layout ofimageCount.static final MemoryLayoutThe memory layout ofpBuffers.static final MemoryLayoutThe memory layout ofpImages.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofpTag.static final MemoryLayoutThe memory layout ofsType.static final MemoryLayoutThe memory layout oftagName.static final MemoryLayoutThe memory layout oftagSize.static final longThe byte offset ofbufferCount.static final longThe byte offset offlags.static final longThe byte offset offrameID.static final longThe byte offset ofimageCount.static final longThe byte offset ofpBuffers.static final longThe byte offset ofpImages.static final longThe byte offset ofpNext.static final longThe byte offset ofpTag.static final longThe byte offset ofsType.static final longThe byte offset oftagName.static final longThe byte offset oftagSize.static final VarHandleTheVarHandleofbufferCountof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkFrameBoundaryEXT(MemorySegment segment, long elementCount) CreatesVkFrameBoundaryEXTwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkFrameBoundaryEXTalloc(SegmentAllocator allocator) Allocates aVkFrameBoundaryEXTwith the given segment allocator.static VkFrameBoundaryEXTalloc(SegmentAllocator allocator, long count) Allocates aVkFrameBoundaryEXTwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkFrameBoundaryEXT.asSlice(long index, long count) Creates a slice ofVkFrameBoundaryEXT.at(long index, Consumer<VkFrameBoundaryEXT> func) VisitsVkFrameBoundaryEXTbuffer at the given index.intReturnsbufferCount.bufferCount(int value) SetsbufferCountwith the given value.static intbufferCount(MemorySegment segment, long index) ReturnsbufferCountat the given index.static voidbufferCount(MemorySegment segment, long index, int value) SetsbufferCountwith the given value at the given index.intbufferCountAt(long index) ReturnsbufferCountat the given index.bufferCountAt(long index, int value) SetsbufferCountwith the given value at the given index.Copies from the given source.intflags()Returnsflags.flags(int value) Setsflagswith the given value.static intflags(MemorySegment segment, long index) Returnsflagsat the given index.static voidflags(MemorySegment segment, long index, int value) Setsflagswith the given value at the given index.intflagsAt(long index) Returnsflagsat the given index.flagsAt(long index, int value) Setsflagswith the given value at the given index.longframeID()ReturnsframeID.frameID(long value) SetsframeIDwith the given value.static longframeID(MemorySegment segment, long index) ReturnsframeIDat the given index.static voidframeID(MemorySegment segment, long index, long value) SetsframeIDwith the given value at the given index.longframeIDAt(long index) ReturnsframeIDat the given index.frameIDAt(long index, long value) SetsframeIDwith the given value at the given index.intReturnsimageCount.imageCount(int value) SetsimageCountwith the given value.static intimageCount(MemorySegment segment, long index) ReturnsimageCountat the given index.static voidimageCount(MemorySegment segment, long index, int value) SetsimageCountwith the given value at the given index.intimageCountAt(long index) ReturnsimageCountat the given index.imageCountAt(long index, int value) SetsimageCountwith the given value at the given index.static VkFrameBoundaryEXTof(MemorySegment segment) CreatesVkFrameBoundaryEXTwith the given segment.static VkFrameBoundaryEXTofNative(MemorySegment segment) CreatesVkFrameBoundaryEXTwith the given segment.static VkFrameBoundaryEXTofNative(MemorySegment segment, long count) CreatesVkFrameBoundaryEXTwith the given segment.pBuffers()ReturnspBuffers.pBuffers(MemorySegment value) SetspBufferswith the given value.static MemorySegmentpBuffers(MemorySegment segment, long index) ReturnspBuffersat the given index.static voidpBuffers(MemorySegment segment, long index, MemorySegment value) SetspBufferswith the given value at the given index.pBuffersAt(long index) ReturnspBuffersat the given index.pBuffersAt(long index, MemorySegment value) SetspBufferswith the given value at the given index.pImages()ReturnspImages.pImages(MemorySegment value) SetspImageswith the given value.static MemorySegmentpImages(MemorySegment segment, long index) ReturnspImagesat the given index.static voidpImages(MemorySegment segment, long index, MemorySegment value) SetspImageswith the given value at the given index.pImagesAt(long index) ReturnspImagesat the given index.pImagesAt(long index, MemorySegment value) SetspImageswith the given value at the given index.pNext()ReturnspNext.pNext(MemorySegment value) SetspNextwith the given value.static MemorySegmentpNext(MemorySegment segment, long index) ReturnspNextat the given index.static voidpNext(MemorySegment segment, long index, MemorySegment value) SetspNextwith the given value at the given index.pNextAt(long index) ReturnspNextat the given index.pNextAt(long index, MemorySegment value) SetspNextwith the given value at the given index.pTag()ReturnspTag.pTag(MemorySegment value) SetspTagwith the given value.static MemorySegmentpTag(MemorySegment segment, long index) ReturnspTagat the given index.static voidpTag(MemorySegment segment, long index, MemorySegment value) SetspTagwith the given value at the given index.pTagAt(long index) ReturnspTagat the given index.pTagAt(long index, MemorySegment value) SetspTagwith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.intsType()ReturnssType.sType(int value) SetssTypewith the given value.static intsType(MemorySegment segment, long index) ReturnssTypeat the given index.static voidsType(MemorySegment segment, long index, int value) SetssTypewith the given value at the given index.intsTypeAt(long index) ReturnssTypeat the given index.sTypeAt(long index, int value) SetssTypewith the given value at the given index.longtagName()ReturnstagName.tagName(long value) SetstagNamewith the given value.static longtagName(MemorySegment segment, long index) ReturnstagNameat the given index.static voidtagName(MemorySegment segment, long index, long value) SetstagNamewith the given value at the given index.longtagNameAt(long index) ReturnstagNameat the given index.tagNameAt(long index, long value) SetstagNamewith the given value at the given index.longtagSize()ReturnstagSize.tagSize(long value) SetstagSizewith the given value.static longtagSize(MemorySegment segment, long index) ReturnstagSizeat the given index.static voidtagSize(MemorySegment segment, long index, long value) SetstagSizewith the given value at the given index.longtagSizeAt(long index) ReturnstagSizeat the given index.tagSizeAt(long index, long value) SetstagSizewith the given value at the given index.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkFrameBoundaryEXT. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType. -
LAYOUT_sType
The memory layout ofsType. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext. -
LAYOUT_pNext
The memory layout ofpNext. -
VH_pNext
-
OFFSET_flags
public static final long OFFSET_flagsThe byte offset offlags. -
LAYOUT_flags
The memory layout offlags. -
VH_flags
-
OFFSET_frameID
public static final long OFFSET_frameIDThe byte offset offrameID. -
LAYOUT_frameID
The memory layout offrameID. -
VH_frameID
-
OFFSET_imageCount
public static final long OFFSET_imageCountThe byte offset ofimageCount. -
LAYOUT_imageCount
The memory layout ofimageCount. -
VH_imageCount
-
OFFSET_pImages
public static final long OFFSET_pImagesThe byte offset ofpImages. -
LAYOUT_pImages
The memory layout ofpImages. -
VH_pImages
-
OFFSET_bufferCount
public static final long OFFSET_bufferCountThe byte offset ofbufferCount. -
LAYOUT_bufferCount
The memory layout ofbufferCount. -
VH_bufferCount
-
OFFSET_pBuffers
public static final long OFFSET_pBuffersThe byte offset ofpBuffers. -
LAYOUT_pBuffers
The memory layout ofpBuffers. -
VH_pBuffers
-
OFFSET_tagName
public static final long OFFSET_tagNameThe byte offset oftagName. -
LAYOUT_tagName
The memory layout oftagName. -
VH_tagName
-
OFFSET_tagSize
public static final long OFFSET_tagSizeThe byte offset oftagSize. -
LAYOUT_tagSize
The memory layout oftagSize. -
VH_tagSize
-
OFFSET_pTag
public static final long OFFSET_pTagThe byte offset ofpTag. -
LAYOUT_pTag
The memory layout ofpTag. -
VH_pTag
-
-
Constructor Details
-
VkFrameBoundaryEXT
CreatesVkFrameBoundaryEXTwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkFrameBoundaryEXTwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkFrameBoundaryEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkFrameBoundaryEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aVkFrameBoundaryEXTwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkFrameBoundaryEXT
-
alloc
Allocates aVkFrameBoundaryEXTwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkFrameBoundaryEXT
-
copyFrom
Copies from the given source.- Parameters:
src- the source- Returns:
this
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count- the new count- Returns:
- the reinterpreted buffer
-
sType
ReturnssTypeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
sTypeat the given index
-
sType
public int sType()ReturnssType.- Returns:
sType
-
sType
SetssTypewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
sType
SetssTypewith the given value.- Parameters:
value- the value- Returns:
this
-
pNext
ReturnspNextat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pNextat the given index
-
pNext
-
pNext
SetspNextwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pNext
SetspNextwith the given value.- Parameters:
value- the value- Returns:
this
-
flags
Returnsflagsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
flagsat the given index
-
flags
public int flags()Returnsflags.- Returns:
flags
-
flags
Setsflagswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
flags
Setsflagswith the given value.- Parameters:
value- the value- Returns:
this
-
frameID
ReturnsframeIDat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
frameIDat the given index
-
frameID
public long frameID()ReturnsframeID.- Returns:
frameID
-
frameID
SetsframeIDwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
frameID
SetsframeIDwith the given value.- Parameters:
value- the value- Returns:
this
-
imageCount
ReturnsimageCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
imageCountat the given index
-
imageCount
public int imageCount()ReturnsimageCount.- Returns:
imageCount
-
imageCount
SetsimageCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
imageCount
SetsimageCountwith the given value.- Parameters:
value- the value- Returns:
this
-
pImages
ReturnspImagesat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pImagesat the given index
-
pImages
-
pImages
SetspImageswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pImages
SetspImageswith the given value.- Parameters:
value- the value- Returns:
this
-
bufferCount
ReturnsbufferCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
bufferCountat the given index
-
bufferCount
public int bufferCount()ReturnsbufferCount.- Returns:
bufferCount
-
bufferCount
SetsbufferCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
bufferCount
SetsbufferCountwith the given value.- Parameters:
value- the value- Returns:
this
-
pBuffers
ReturnspBuffersat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pBuffersat the given index
-
pBuffers
-
pBuffers
SetspBufferswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pBuffers
SetspBufferswith the given value.- Parameters:
value- the value- Returns:
this
-
tagName
ReturnstagNameat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
tagNameat the given index
-
tagName
public long tagName()ReturnstagName.- Returns:
tagName
-
tagName
SetstagNamewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
tagName
SetstagNamewith the given value.- Parameters:
value- the value- Returns:
this
-
tagSize
ReturnstagSizeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
tagSizeat the given index
-
tagSize
public long tagSize()ReturnstagSize.- Returns:
tagSize
-
tagSize
SetstagSizewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
tagSize
SetstagSizewith the given value.- Parameters:
value- the value- Returns:
this
-
pTag
ReturnspTagat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pTagat the given index
-
pTag
-
pTag
SetspTagwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pTag
SetspTagwith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkFrameBoundaryEXT.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkFrameBoundaryEXT
-
asSlice
Creates a slice ofVkFrameBoundaryEXT.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkFrameBoundaryEXT
-
at
VisitsVkFrameBoundaryEXTbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
sTypeAt
public int sTypeAt(long index) ReturnssTypeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
sTypeat the given index
-
sTypeAt
SetssTypewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pNextAt
ReturnspNextat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pNextat the given index
-
pNextAt
SetspNextwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
flagsAt
public int flagsAt(long index) Returnsflagsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
flagsat the given index
-
flagsAt
Setsflagswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
frameIDAt
public long frameIDAt(long index) ReturnsframeIDat the given index.- Parameters:
index- the index of the struct buffer- Returns:
frameIDat the given index
-
frameIDAt
SetsframeIDwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
imageCountAt
public int imageCountAt(long index) ReturnsimageCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
imageCountat the given index
-
imageCountAt
SetsimageCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pImagesAt
ReturnspImagesat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pImagesat the given index
-
pImagesAt
SetspImageswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
bufferCountAt
public int bufferCountAt(long index) ReturnsbufferCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
bufferCountat the given index
-
bufferCountAt
SetsbufferCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pBuffersAt
ReturnspBuffersat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pBuffersat the given index
-
pBuffersAt
SetspBufferswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
tagNameAt
public long tagNameAt(long index) ReturnstagNameat the given index.- Parameters:
index- the index of the struct buffer- Returns:
tagNameat the given index
-
tagNameAt
SetstagNamewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
tagSizeAt
public long tagSizeAt(long index) ReturnstagSizeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
tagSizeat the given index
-
tagSizeAt
SetstagSizewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pTagAt
ReturnspTagat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pTagat the given index
-
pTagAt
SetspTagwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-