Class VkPipelineCacheStageValidationIndexEntry.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkPipelineCacheStageValidationIndexEntry
overrungl.vulkan.struct.VkPipelineCacheStageValidationIndexEntry.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPipelineCacheStageValidationIndexEntry
public static final class VkPipelineCacheStageValidationIndexEntry.Buffer
extends VkPipelineCacheStageValidationIndexEntry
A buffer of
VkPipelineCacheStageValidationIndexEntry
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkPipelineCacheStageValidationIndexEntry
VkPipelineCacheStageValidationIndexEntry.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkPipelineCacheStageValidationIndexEntry
LAYOUT, LAYOUT_codeOffset, LAYOUT_codeSize, OFFSET_codeOffset, OFFSET_codeSize, VH_codeOffset, VH_codeSize
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPipelineCacheStageValidationIndexEntry.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPipelineCacheStageValidationIndexEntry
.asSlice
(long index, long count) Creates a slice ofVkPipelineCacheStageValidationIndexEntry
.long
codeOffsetAt
(long index) ReturnscodeOffset
at the given index.codeOffsetAt
(long index, long value) SetscodeOffset
with the given value at the given index.long
codeSizeAt
(long index) ReturnscodeSize
at the given index.codeSizeAt
(long index, long value) SetscodeSize
with the given value at the given index.long
Estimates the element count of this group type buffer.Methods inherited from class overrungl.vulkan.struct.VkPipelineCacheStageValidationIndexEntry
alloc, alloc, asBuffer, codeOffset, codeOffset, codeOffset, codeOffset, codeSize, codeSize, codeSize, codeSize, copyFrom, of, ofNative, ofNative
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPipelineCacheStageValidationIndexEntry.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 ofVkPipelineCacheStageValidationIndexEntry
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPipelineCacheStageValidationIndexEntry
-
asSlice
Creates a slice ofVkPipelineCacheStageValidationIndexEntry
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPipelineCacheStageValidationIndexEntry
-
codeSizeAt
public long codeSizeAt(long index) ReturnscodeSize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
codeSize
at the given index
-
codeSizeAt
SetscodeSize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
codeOffsetAt
public long codeOffsetAt(long index) ReturnscodeOffset
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
codeOffset
at the given index
-
codeOffsetAt
SetscodeOffset
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-