Class VkPipelineBinaryKeysAndDataKHR.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkPipelineBinaryKeysAndDataKHR
overrungl.vulkan.khr.struct.VkPipelineBinaryKeysAndDataKHR.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPipelineBinaryKeysAndDataKHR
public static final class VkPipelineBinaryKeysAndDataKHR.Buffer
extends VkPipelineBinaryKeysAndDataKHR
A buffer of
VkPipelineBinaryKeysAndDataKHR
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.khr.struct.VkPipelineBinaryKeysAndDataKHR
VkPipelineBinaryKeysAndDataKHR.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.khr.struct.VkPipelineBinaryKeysAndDataKHR
LAYOUT, LAYOUT_binaryCount, LAYOUT_pPipelineBinaryData, LAYOUT_pPipelineBinaryKeys, OFFSET_binaryCount, OFFSET_pPipelineBinaryData, OFFSET_pPipelineBinaryKeys, VH_binaryCount, VH_pPipelineBinaryData, VH_pPipelineBinaryKeys
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPipelineBinaryKeysAndDataKHR.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPipelineBinaryKeysAndDataKHR
.asSlice
(long index, long count) Creates a slice ofVkPipelineBinaryKeysAndDataKHR
.int
binaryCountAt
(long index) ReturnsbinaryCount
at the given index.binaryCountAt
(long index, int value) SetsbinaryCount
with the given value at the given index.long
Estimates the element count of this group type buffer.pPipelineBinaryDataAt
(long index) ReturnspPipelineBinaryData
at the given index.pPipelineBinaryDataAt
(long index, MemorySegment value) SetspPipelineBinaryData
with the given value at the given index.pPipelineBinaryKeysAt
(long index) ReturnspPipelineBinaryKeys
at the given index.pPipelineBinaryKeysAt
(long index, MemorySegment value) SetspPipelineBinaryKeys
with the given value at the given index.Methods inherited from class overrungl.vulkan.khr.struct.VkPipelineBinaryKeysAndDataKHR
alloc, alloc, asBuffer, binaryCount, binaryCount, binaryCount, binaryCount, copyFrom, of, ofNative, ofNative, pPipelineBinaryData, pPipelineBinaryData, pPipelineBinaryData, pPipelineBinaryData, pPipelineBinaryKeys, pPipelineBinaryKeys, pPipelineBinaryKeys, pPipelineBinaryKeys
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPipelineBinaryKeysAndDataKHR.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 ofVkPipelineBinaryKeysAndDataKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPipelineBinaryKeysAndDataKHR
-
asSlice
Creates a slice ofVkPipelineBinaryKeysAndDataKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPipelineBinaryKeysAndDataKHR
-
binaryCountAt
public int binaryCountAt(long index) ReturnsbinaryCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
binaryCount
at the given index
-
binaryCountAt
SetsbinaryCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pPipelineBinaryKeysAt
ReturnspPipelineBinaryKeys
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pPipelineBinaryKeys
at the given index
-
pPipelineBinaryKeysAt
SetspPipelineBinaryKeys
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pPipelineBinaryDataAt
ReturnspPipelineBinaryData
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pPipelineBinaryData
at the given index
-
pPipelineBinaryDataAt
SetspPipelineBinaryData
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-