Class VkPipelineCreationFeedback.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkPipelineCreationFeedback
overrungl.vulkan.struct.VkPipelineCreationFeedback.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPipelineCreationFeedback
A buffer of
VkPipelineCreationFeedback
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkPipelineCreationFeedback
VkPipelineCreationFeedback.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkPipelineCreationFeedback
LAYOUT, LAYOUT_duration, LAYOUT_flags, OFFSET_duration, OFFSET_flags, VH_duration, VH_flags
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPipelineCreationFeedback.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPipelineCreationFeedback
.asSlice
(long index, long count) Creates a slice ofVkPipelineCreationFeedback
.long
durationAt
(long index) Returnsduration
at the given index.durationAt
(long index, long value) Setsduration
with the given value at the given index.long
Estimates the element count of this group type buffer.int
flagsAt
(long index) Returnsflags
at the given index.flagsAt
(long index, int value) Setsflags
with the given value at the given index.Methods inherited from class overrungl.vulkan.struct.VkPipelineCreationFeedback
alloc, alloc, asBuffer, copyFrom, duration, duration, duration, duration, flags, flags, flags, flags, of, ofNative, ofNative
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPipelineCreationFeedback.Buffer
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count
-
-
Method Details
-
estimateCount
public long estimateCount()Description copied from class:GroupType
Estimates the element count of this group type buffer.- Overrides:
estimateCount
in classGroupType
- Returns:
- the estimated element count of the group type buffer
-
asSlice
Creates a slice ofVkPipelineCreationFeedback
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPipelineCreationFeedback
-
asSlice
Creates a slice ofVkPipelineCreationFeedback
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPipelineCreationFeedback
-
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
-