Class VkPipelineCreationFeedbackEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkPipelineCreationFeedbackEXT
- All Implemented Interfaces:
Addressable
Represents VkPipelineCreationFeedbackEXT.
Layout
struct VkPipelineCreationFeedbackEXT {
((uint32_t) VkFlags) VkPipelineCreationFeedbackFlags flags;
uint64_t duration;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkPipelineCreationFeedbackEXT.static final MemoryLayoutThe memory layout ofduration.static final MemoryLayoutThe memory layout offlags.static final longThe byte offset ofduration.static final longThe byte offset offlags.static final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkPipelineCreationFeedbackEXT(MemorySegment segment, long elementCount) CreatesVkPipelineCreationFeedbackEXTwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkPipelineCreationFeedbackEXTwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkPipelineCreationFeedbackEXTwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkPipelineCreationFeedbackEXT.asSlice(long index, long count) Creates a slice ofVkPipelineCreationFeedbackEXT.at(long index, Consumer<VkPipelineCreationFeedbackEXT> func) VisitsVkPipelineCreationFeedbackEXTbuffer at the given index.Copies from the given source.longduration()Returnsduration.duration(long value) Setsdurationwith the given value.static longduration(MemorySegment segment, long index) Returnsdurationat the given index.static voidduration(MemorySegment segment, long index, long value) Setsdurationwith the given value at the given index.longdurationAt(long index) Returnsdurationat the given index.durationAt(long index, long value) Setsdurationwith the given value at the given index.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.of(MemorySegment segment) CreatesVkPipelineCreationFeedbackEXTwith the given segment.ofNative(MemorySegment segment) CreatesVkPipelineCreationFeedbackEXTwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkPipelineCreationFeedbackEXTwith the given segment.reinterpret(long count) Reinterprets this buffer with the given count.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkPipelineCreationFeedbackEXT. -
OFFSET_flags
public static final long OFFSET_flagsThe byte offset offlags. -
LAYOUT_flags
The memory layout offlags. -
VH_flags
-
OFFSET_duration
public static final long OFFSET_durationThe byte offset ofduration. -
LAYOUT_duration
The memory layout ofduration. -
VH_duration
-
-
Constructor Details
-
VkPipelineCreationFeedbackEXT
CreatesVkPipelineCreationFeedbackEXTwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPipelineCreationFeedbackEXTwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkPipelineCreationFeedbackEXTwith 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
VkPipelineCreationFeedbackEXTwith 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 aVkPipelineCreationFeedbackEXTwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkPipelineCreationFeedbackEXT
-
alloc
Allocates aVkPipelineCreationFeedbackEXTwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkPipelineCreationFeedbackEXT
-
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
-
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
-
duration
Returnsdurationat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
durationat the given index
-
duration
public long duration()Returnsduration.- Returns:
duration
-
duration
Setsdurationwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
duration
Setsdurationwith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkPipelineCreationFeedbackEXT.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkPipelineCreationFeedbackEXT
-
asSlice
Creates a slice ofVkPipelineCreationFeedbackEXT.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkPipelineCreationFeedbackEXT
-
at
VisitsVkPipelineCreationFeedbackEXTbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- 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
-
durationAt
public long durationAt(long index) Returnsdurationat the given index.- Parameters:
index- the index of the struct buffer- Returns:
durationat the given index
-
durationAt
Setsdurationwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-