Class VkPhysicalDeviceDataGraphProcessingEngineARM.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.arm.struct.VkPhysicalDeviceDataGraphProcessingEngineARM
overrungl.vulkan.arm.struct.VkPhysicalDeviceDataGraphProcessingEngineARM.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPhysicalDeviceDataGraphProcessingEngineARM
public static final class VkPhysicalDeviceDataGraphProcessingEngineARM.Buffer
extends VkPhysicalDeviceDataGraphProcessingEngineARM
A buffer of
VkPhysicalDeviceDataGraphProcessingEngineARM
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.arm.struct.VkPhysicalDeviceDataGraphProcessingEngineARM
VkPhysicalDeviceDataGraphProcessingEngineARM.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.arm.struct.VkPhysicalDeviceDataGraphProcessingEngineARM
LAYOUT, LAYOUT_isForeign, LAYOUT_type, OFFSET_isForeign, OFFSET_type, VH_isForeign, VH_type
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceDataGraphProcessingEngineARM.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPhysicalDeviceDataGraphProcessingEngineARM
.asSlice
(long index, long count) Creates a slice ofVkPhysicalDeviceDataGraphProcessingEngineARM
.long
Estimates the element count of this group type buffer.int
isForeignAt
(long index) ReturnsisForeign
at the given index.isForeignAt
(long index, int value) SetsisForeign
with the given value at the given index.int
typeAt
(long index) Returnstype
at the given index.typeAt
(long index, int value) Setstype
with the given value at the given index.Methods inherited from class overrungl.vulkan.arm.struct.VkPhysicalDeviceDataGraphProcessingEngineARM
alloc, alloc, allocInit, allocInit, asBuffer, copyFrom, isForeign, isForeign, isForeign, isForeign, of, ofNative, ofNative, type, type, type, type
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPhysicalDeviceDataGraphProcessingEngineARM.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 ofVkPhysicalDeviceDataGraphProcessingEngineARM
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDeviceDataGraphProcessingEngineARM
-
asSlice
Creates a slice ofVkPhysicalDeviceDataGraphProcessingEngineARM
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPhysicalDeviceDataGraphProcessingEngineARM
-
typeAt
public int typeAt(long index) Returnstype
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
type
at the given index
-
typeAt
Setstype
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
isForeignAt
public int isForeignAt(long index) ReturnsisForeign
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
isForeign
at the given index
-
isForeignAt
SetsisForeign
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-