Class VkPhysicalDeviceTensorFeaturesARM.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.arm.struct.VkPhysicalDeviceTensorFeaturesARM
overrungl.vulkan.arm.struct.VkPhysicalDeviceTensorFeaturesARM.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPhysicalDeviceTensorFeaturesARM
public static final class VkPhysicalDeviceTensorFeaturesARM.Buffer
extends VkPhysicalDeviceTensorFeaturesARM
A buffer of
VkPhysicalDeviceTensorFeaturesARM
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.arm.struct.VkPhysicalDeviceTensorFeaturesARM
VkPhysicalDeviceTensorFeaturesARM.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.arm.struct.VkPhysicalDeviceTensorFeaturesARM
LAYOUT, LAYOUT_descriptorBindingStorageTensorUpdateAfterBind, LAYOUT_pNext, LAYOUT_shaderStorageTensorArrayDynamicIndexing, LAYOUT_shaderStorageTensorArrayNonUniformIndexing, LAYOUT_shaderTensorAccess, LAYOUT_sType, LAYOUT_tensorNonPacked, LAYOUT_tensors, OFFSET_descriptorBindingStorageTensorUpdateAfterBind, OFFSET_pNext, OFFSET_shaderStorageTensorArrayDynamicIndexing, OFFSET_shaderStorageTensorArrayNonUniformIndexing, OFFSET_shaderTensorAccess, OFFSET_sType, OFFSET_tensorNonPacked, OFFSET_tensors, VH_descriptorBindingStorageTensorUpdateAfterBind, VH_pNext, VH_shaderStorageTensorArrayDynamicIndexing, VH_shaderStorageTensorArrayNonUniformIndexing, VH_shaderTensorAccess, VH_sType, VH_tensorNonPacked, VH_tensors
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceTensorFeaturesARM.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPhysicalDeviceTensorFeaturesARM
.asSlice
(long index, long count) Creates a slice ofVkPhysicalDeviceTensorFeaturesARM
.int
descriptorBindingStorageTensorUpdateAfterBindAt
(long index) ReturnsdescriptorBindingStorageTensorUpdateAfterBind
at the given index.descriptorBindingStorageTensorUpdateAfterBindAt
(long index, int value) SetsdescriptorBindingStorageTensorUpdateAfterBind
with the given value at the given index.long
Estimates the element count of this group type buffer.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.int
shaderStorageTensorArrayDynamicIndexingAt
(long index) ReturnsshaderStorageTensorArrayDynamicIndexing
at the given index.shaderStorageTensorArrayDynamicIndexingAt
(long index, int value) SetsshaderStorageTensorArrayDynamicIndexing
with the given value at the given index.int
shaderStorageTensorArrayNonUniformIndexingAt
(long index) ReturnsshaderStorageTensorArrayNonUniformIndexing
at the given index.shaderStorageTensorArrayNonUniformIndexingAt
(long index, int value) SetsshaderStorageTensorArrayNonUniformIndexing
with the given value at the given index.int
shaderTensorAccessAt
(long index) ReturnsshaderTensorAccess
at the given index.shaderTensorAccessAt
(long index, int value) SetsshaderTensorAccess
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
tensorNonPackedAt
(long index) ReturnstensorNonPacked
at the given index.tensorNonPackedAt
(long index, int value) SetstensorNonPacked
with the given value at the given index.int
tensorsAt
(long index) Returnstensors
at the given index.tensorsAt
(long index, int value) Setstensors
with the given value at the given index.Methods inherited from class overrungl.vulkan.arm.struct.VkPhysicalDeviceTensorFeaturesARM
alloc, alloc, allocInit, allocInit, allocInit, allocInit, allocInit, allocInit, allocInit, allocInit, asBuffer, copyFrom, descriptorBindingStorageTensorUpdateAfterBind, descriptorBindingStorageTensorUpdateAfterBind, descriptorBindingStorageTensorUpdateAfterBind, descriptorBindingStorageTensorUpdateAfterBind, of, ofNative, ofNative, pNext, pNext, pNext, pNext, shaderStorageTensorArrayDynamicIndexing, shaderStorageTensorArrayDynamicIndexing, shaderStorageTensorArrayDynamicIndexing, shaderStorageTensorArrayDynamicIndexing, shaderStorageTensorArrayNonUniformIndexing, shaderStorageTensorArrayNonUniformIndexing, shaderStorageTensorArrayNonUniformIndexing, shaderStorageTensorArrayNonUniformIndexing, shaderTensorAccess, shaderTensorAccess, shaderTensorAccess, shaderTensorAccess, sType, sType, sType, sType, tensorNonPacked, tensorNonPacked, tensorNonPacked, tensorNonPacked, tensors, tensors, tensors, tensors
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPhysicalDeviceTensorFeaturesARM.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 ofVkPhysicalDeviceTensorFeaturesARM
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDeviceTensorFeaturesARM
-
asSlice
Creates a slice ofVkPhysicalDeviceTensorFeaturesARM
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPhysicalDeviceTensorFeaturesARM
-
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
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
SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
tensorNonPackedAt
public int tensorNonPackedAt(long index) ReturnstensorNonPacked
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
tensorNonPacked
at the given index
-
tensorNonPackedAt
SetstensorNonPacked
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
shaderTensorAccessAt
public int shaderTensorAccessAt(long index) ReturnsshaderTensorAccess
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
shaderTensorAccess
at the given index
-
shaderTensorAccessAt
SetsshaderTensorAccess
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
shaderStorageTensorArrayDynamicIndexingAt
public int shaderStorageTensorArrayDynamicIndexingAt(long index) ReturnsshaderStorageTensorArrayDynamicIndexing
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
shaderStorageTensorArrayDynamicIndexing
at the given index
-
shaderStorageTensorArrayDynamicIndexingAt
public VkPhysicalDeviceTensorFeaturesARM.Buffer shaderStorageTensorArrayDynamicIndexingAt(long index, int value) SetsshaderStorageTensorArrayDynamicIndexing
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
shaderStorageTensorArrayNonUniformIndexingAt
public int shaderStorageTensorArrayNonUniformIndexingAt(long index) ReturnsshaderStorageTensorArrayNonUniformIndexing
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
shaderStorageTensorArrayNonUniformIndexing
at the given index
-
shaderStorageTensorArrayNonUniformIndexingAt
public VkPhysicalDeviceTensorFeaturesARM.Buffer shaderStorageTensorArrayNonUniformIndexingAt(long index, int value) SetsshaderStorageTensorArrayNonUniformIndexing
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
descriptorBindingStorageTensorUpdateAfterBindAt
public int descriptorBindingStorageTensorUpdateAfterBindAt(long index) ReturnsdescriptorBindingStorageTensorUpdateAfterBind
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
descriptorBindingStorageTensorUpdateAfterBind
at the given index
-
descriptorBindingStorageTensorUpdateAfterBindAt
public VkPhysicalDeviceTensorFeaturesARM.Buffer descriptorBindingStorageTensorUpdateAfterBindAt(long index, int value) SetsdescriptorBindingStorageTensorUpdateAfterBind
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
tensorsAt
public int tensorsAt(long index) Returnstensors
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
tensors
at the given index
-
tensorsAt
Setstensors
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-