Class VkPipelineCreationFeedbackEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkPipelineCreationFeedbackEXT
- All Implemented Interfaces:
Addressable
Layout
struct VkPipelineCreationFeedbackEXT {
((uint32_t) VkFlags) VkPipelineCreationFeedbackFlags flags;
uint64_t duration;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkPipelineCreationFeedbackEXT
.static final MemoryLayout
The memory layout ofduration
.static final MemoryLayout
The memory layout offlags
.static final long
The byte offset ofduration
.static final long
The byte offset offlags
.static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkPipelineCreationFeedbackEXT
(MemorySegment segment, long elementCount) CreatesVkPipelineCreationFeedbackEXT
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkPipelineCreationFeedbackEXT
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkPipelineCreationFeedbackEXT
with 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) VisitsVkPipelineCreationFeedbackEXT
buffer at the given index.Copies from the given source.long
duration()
Returnsduration
.duration
(long value) Setsduration
with the given value.static long
duration
(MemorySegment segment, long index) Returnsduration
at the given index.static void
duration
(MemorySegment segment, long index, long value) Setsduration
with the given value at the given index.long
durationAt
(long index) Returnsduration
at the given index.durationAt
(long index, long value) Setsduration
with the given value at the given index.int
flags()
Returnsflags
.flags
(int value) Setsflags
with the given value.static int
flags
(MemorySegment segment, long index) Returnsflags
at the given index.static void
flags
(MemorySegment segment, long index, int value) Setsflags
with the given value at the given index.int
flagsAt
(long index) Returnsflags
at the given index.flagsAt
(long index, int value) Setsflags
with the given value at the given index.of
(MemorySegment segment) CreatesVkPipelineCreationFeedbackEXT
with the given segment.ofNative
(MemorySegment segment) CreatesVkPipelineCreationFeedbackEXT
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkPipelineCreationFeedbackEXT
with the given segment.reinterpret
(long count) Reinterprets this buffer with the given count.Methods inherited from class overrungl.struct.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
CreatesVkPipelineCreationFeedbackEXT
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPipelineCreationFeedbackEXT
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkPipelineCreationFeedbackEXT
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkPipelineCreationFeedbackEXT
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkPipelineCreationFeedbackEXT
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkPipelineCreationFeedbackEXT
-
alloc
Allocates aVkPipelineCreationFeedbackEXT
with 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
Returnsflags
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
flags
at the given index
-
flags
public int flags()Returnsflags
.- Returns:
flags
-
flags
Setsflags
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
flags
Setsflags
with the given value.- Parameters:
value
- the value- Returns:
this
-
duration
Returnsduration
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
duration
at the given index
-
duration
public long duration()Returnsduration
.- Returns:
duration
-
duration
Setsduration
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
duration
Setsduration
with 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
VisitsVkPipelineCreationFeedbackEXT
buffer 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) Returnsflags
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
flags
at the given index
-
flagsAt
Setsflags
with 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) Returnsduration
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
duration
at the given index
-
durationAt
Setsduration
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-