Class VkPipelineCacheSafetyCriticalIndexEntry.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkPipelineCacheSafetyCriticalIndexEntry
overrungl.vulkan.struct.VkPipelineCacheSafetyCriticalIndexEntry.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPipelineCacheSafetyCriticalIndexEntry
public static final class VkPipelineCacheSafetyCriticalIndexEntry.Buffer
extends VkPipelineCacheSafetyCriticalIndexEntry
A buffer of
VkPipelineCacheSafetyCriticalIndexEntry
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkPipelineCacheSafetyCriticalIndexEntry
VkPipelineCacheSafetyCriticalIndexEntry.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkPipelineCacheSafetyCriticalIndexEntry
LAYOUT, LAYOUT_jsonOffset, LAYOUT_jsonSize, LAYOUT_pipelineIdentifier, LAYOUT_pipelineMemorySize, LAYOUT_stageIndexCount, LAYOUT_stageIndexOffset, LAYOUT_stageIndexStride, OFFSET_jsonOffset, OFFSET_jsonSize, OFFSET_pipelineIdentifier, OFFSET_pipelineMemorySize, OFFSET_stageIndexCount, OFFSET_stageIndexOffset, OFFSET_stageIndexStride, VH_jsonOffset, VH_jsonSize, VH_pipelineIdentifier, VH_pipelineMemorySize, VH_stageIndexCount, VH_stageIndexOffset, VH_stageIndexStride
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPipelineCacheSafetyCriticalIndexEntry.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPipelineCacheSafetyCriticalIndexEntry
.asSlice
(long index, long count) Creates a slice ofVkPipelineCacheSafetyCriticalIndexEntry
.long
Estimates the element count of this group type buffer.long
jsonOffsetAt
(long index) ReturnsjsonOffset
at the given index.jsonOffsetAt
(long index, long value) SetsjsonOffset
with the given value at the given index.long
jsonSizeAt
(long index) ReturnsjsonSize
at the given index.jsonSizeAt
(long index, long value) SetsjsonSize
with the given value at the given index.pipelineIdentifierAt
(long index) ReturnspipelineIdentifier
at the given index.byte
pipelineIdentifierAt
(long index, long index0) ReturnspipelineIdentifier
at the given index.pipelineIdentifierAt
(long index, long index0, byte value) SetspipelineIdentifier
with the given value at the given index.pipelineIdentifierAt
(long index, MemorySegment value) SetspipelineIdentifier
with the given value at the given index.long
pipelineMemorySizeAt
(long index) ReturnspipelineMemorySize
at the given index.pipelineMemorySizeAt
(long index, long value) SetspipelineMemorySize
with the given value at the given index.int
stageIndexCountAt
(long index) ReturnsstageIndexCount
at the given index.stageIndexCountAt
(long index, int value) SetsstageIndexCount
with the given value at the given index.long
stageIndexOffsetAt
(long index) ReturnsstageIndexOffset
at the given index.stageIndexOffsetAt
(long index, long value) SetsstageIndexOffset
with the given value at the given index.int
stageIndexStrideAt
(long index) ReturnsstageIndexStride
at the given index.stageIndexStrideAt
(long index, int value) SetsstageIndexStride
with the given value at the given index.Methods inherited from class overrungl.vulkan.struct.VkPipelineCacheSafetyCriticalIndexEntry
alloc, alloc, asBuffer, copyFrom, jsonOffset, jsonOffset, jsonOffset, jsonOffset, jsonSize, jsonSize, jsonSize, jsonSize, of, ofNative, ofNative, pipelineIdentifier, pipelineIdentifier, pipelineIdentifier, pipelineIdentifier, pipelineIdentifier, pipelineIdentifier, pipelineIdentifier, pipelineIdentifier, pipelineMemorySize, pipelineMemorySize, pipelineMemorySize, pipelineMemorySize, stageIndexCount, stageIndexCount, stageIndexCount, stageIndexCount, stageIndexOffset, stageIndexOffset, stageIndexOffset, stageIndexOffset, stageIndexStride, stageIndexStride, stageIndexStride, stageIndexStride
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPipelineCacheSafetyCriticalIndexEntry.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 ofVkPipelineCacheSafetyCriticalIndexEntry
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPipelineCacheSafetyCriticalIndexEntry
-
asSlice
Creates a slice ofVkPipelineCacheSafetyCriticalIndexEntry
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPipelineCacheSafetyCriticalIndexEntry
-
pipelineIdentifierAt
ReturnspipelineIdentifier
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pipelineIdentifier
at the given index
-
pipelineIdentifierAt
public byte pipelineIdentifierAt(long index, long index0) ReturnspipelineIdentifier
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
pipelineIdentifier
at the given index
-
pipelineIdentifierAt
public VkPipelineCacheSafetyCriticalIndexEntry.Buffer pipelineIdentifierAt(long index, MemorySegment value) SetspipelineIdentifier
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pipelineIdentifierAt
public VkPipelineCacheSafetyCriticalIndexEntry.Buffer pipelineIdentifierAt(long index, long index0, byte value) SetspipelineIdentifier
with the given value at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-
pipelineMemorySizeAt
public long pipelineMemorySizeAt(long index) ReturnspipelineMemorySize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pipelineMemorySize
at the given index
-
pipelineMemorySizeAt
SetspipelineMemorySize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
jsonSizeAt
public long jsonSizeAt(long index) ReturnsjsonSize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
jsonSize
at the given index
-
jsonSizeAt
SetsjsonSize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
jsonOffsetAt
public long jsonOffsetAt(long index) ReturnsjsonOffset
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
jsonOffset
at the given index
-
jsonOffsetAt
SetsjsonOffset
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
stageIndexCountAt
public int stageIndexCountAt(long index) ReturnsstageIndexCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
stageIndexCount
at the given index
-
stageIndexCountAt
SetsstageIndexCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
stageIndexStrideAt
public int stageIndexStrideAt(long index) ReturnsstageIndexStride
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
stageIndexStride
at the given index
-
stageIndexStrideAt
SetsstageIndexStride
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
stageIndexOffsetAt
public long stageIndexOffsetAt(long index) ReturnsstageIndexOffset
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
stageIndexOffset
at the given index
-
stageIndexOffsetAt
SetsstageIndexOffset
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-