Class VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.arm.struct.VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
overrungl.vulkan.arm.struct.VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
public static final class VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer
extends VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.arm.struct.VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.arm.struct.VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
LAYOUT, LAYOUT_dimension, LAYOUT_groupSize, LAYOUT_pNext, LAYOUT_sType, LAYOUT_zeroCount, OFFSET_dimension, OFFSET_groupSize, OFFSET_pNext, OFFSET_sType, OFFSET_zeroCount, VH_dimension, VH_groupSize, VH_pNext, VH_sType, VH_zeroCount
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
.asSlice
(long index, long count) Creates a slice ofVkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
.int
dimensionAt
(long index) Returnsdimension
at the given index.dimensionAt
(long index, int value) Setsdimension
with the given value at the given index.long
Estimates the element count of this group type buffer.int
groupSizeAt
(long index) ReturnsgroupSize
at the given index.groupSizeAt
(long index, int value) SetsgroupSize
with the given value at the given index.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.int
zeroCountAt
(long index) ReturnszeroCount
at the given index.zeroCountAt
(long index, int value) SetszeroCount
with the given value at the given index.Methods inherited from class overrungl.vulkan.arm.struct.VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
alloc, alloc, allocInit, allocInit, allocInit, allocInit, allocInit, asBuffer, copyFrom, dimension, dimension, dimension, dimension, groupSize, groupSize, groupSize, groupSize, of, ofNative, ofNative, pNext, pNext, pNext, pNext, sType, sType, sType, sType, zeroCount, zeroCount, zeroCount, zeroCount
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.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 ofVkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
-
asSlice
public VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer asSlice(long index, long count) Creates a slice ofVkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
-
sTypeAt
public int sTypeAt(long index) ReturnssType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
sType
at the given index
-
sTypeAt
public VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer sTypeAt(long index, int value) SetssType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pNextAt
ReturnspNext
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNextAt
public VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer pNextAt(long index, MemorySegment value) SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
dimensionAt
public int dimensionAt(long index) Returnsdimension
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
dimension
at the given index
-
dimensionAt
public VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer dimensionAt(long index, int value) Setsdimension
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
zeroCountAt
public int zeroCountAt(long index) ReturnszeroCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
zeroCount
at the given index
-
zeroCountAt
public VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer zeroCountAt(long index, int value) SetszeroCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
groupSizeAt
public int groupSizeAt(long index) ReturnsgroupSize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
groupSize
at the given index
-
groupSizeAt
public VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.Buffer groupSizeAt(long index, int value) SetsgroupSize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-