Class VkTensorCopyARM
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.arm.struct.VkTensorCopyARM
- All Implemented Interfaces:
Addressable
Layout
struct VkTensorCopyARM {
(int) VkStructureType sType;
const void* pNext;
uint32_t dimensionCount;
const uint64_t* pSrcOffset;
const uint64_t* pDstOffset;
const uint64_t* pExtent;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkTensorCopyARM
.static final MemoryLayout
The memory layout ofdimensionCount
.static final MemoryLayout
The memory layout ofpDstOffset
.static final MemoryLayout
The memory layout ofpExtent
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofpSrcOffset
.static final MemoryLayout
The memory layout ofsType
.static final long
The byte offset ofdimensionCount
.static final long
The byte offset ofpDstOffset
.static final long
The byte offset ofpExtent
.static final long
The byte offset ofpNext
.static final long
The byte offset ofpSrcOffset
.static final long
The byte offset ofsType
.static final VarHandle
TheVarHandle
ofdimensionCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkTensorCopyARM
(MemorySegment segment, long elementCount) CreatesVkTensorCopyARM
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkTensorCopyARM
alloc
(SegmentAllocator allocator) Allocates aVkTensorCopyARM
with the given segment allocator.static VkTensorCopyARM
alloc
(SegmentAllocator allocator, long count) Allocates aVkTensorCopyARM
with the given segment allocator and count.asSlice
(long index) Creates a slice ofVkTensorCopyARM
.asSlice
(long index, long count) Creates a slice ofVkTensorCopyARM
.at
(long index, Consumer<VkTensorCopyARM> func) VisitsVkTensorCopyARM
buffer at the given index.copyFrom
(VkTensorCopyARM src) Copies from the given source.int
ReturnsdimensionCount
.dimensionCount
(int value) SetsdimensionCount
with the given value.static int
dimensionCount
(MemorySegment segment, long index) ReturnsdimensionCount
at the given index.static void
dimensionCount
(MemorySegment segment, long index, int value) SetsdimensionCount
with the given value at the given index.int
dimensionCountAt
(long index) ReturnsdimensionCount
at the given index.dimensionCountAt
(long index, int value) SetsdimensionCount
with the given value at the given index.static VkTensorCopyARM
of
(MemorySegment segment) CreatesVkTensorCopyARM
with the given segment.static VkTensorCopyARM
ofNative
(MemorySegment segment) CreatesVkTensorCopyARM
with the given segment.static VkTensorCopyARM
ofNative
(MemorySegment segment, long count) CreatesVkTensorCopyARM
with the given segment.ReturnspDstOffset
.pDstOffset
(MemorySegment value) SetspDstOffset
with the given value.static MemorySegment
pDstOffset
(MemorySegment segment, long index) ReturnspDstOffset
at the given index.static void
pDstOffset
(MemorySegment segment, long index, MemorySegment value) SetspDstOffset
with the given value at the given index.pDstOffsetAt
(long index) ReturnspDstOffset
at the given index.pDstOffsetAt
(long index, MemorySegment value) SetspDstOffset
with the given value at the given index.pExtent()
ReturnspExtent
.pExtent
(MemorySegment value) SetspExtent
with the given value.static MemorySegment
pExtent
(MemorySegment segment, long index) ReturnspExtent
at the given index.static void
pExtent
(MemorySegment segment, long index, MemorySegment value) SetspExtent
with the given value at the given index.pExtentAt
(long index) ReturnspExtent
at the given index.pExtentAt
(long index, MemorySegment value) SetspExtent
with the given value at the given index.pNext()
ReturnspNext
.pNext
(MemorySegment value) SetspNext
with the given value.static MemorySegment
pNext
(MemorySegment segment, long index) ReturnspNext
at the given index.static void
pNext
(MemorySegment segment, long index, MemorySegment value) SetspNext
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.ReturnspSrcOffset
.pSrcOffset
(MemorySegment value) SetspSrcOffset
with the given value.static MemorySegment
pSrcOffset
(MemorySegment segment, long index) ReturnspSrcOffset
at the given index.static void
pSrcOffset
(MemorySegment segment, long index, MemorySegment value) SetspSrcOffset
with the given value at the given index.pSrcOffsetAt
(long index) ReturnspSrcOffset
at the given index.pSrcOffsetAt
(long index, MemorySegment value) SetspSrcOffset
with the given value at the given index.reinterpret
(long count) Reinterprets this buffer with the given count.int
sType()
ReturnssType
.sType
(int value) SetssType
with the given value.static int
sType
(MemorySegment segment, long index) ReturnssType
at the given index.static void
sType
(MemorySegment segment, long index, int value) SetssType
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.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkTensorCopyARM
. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType
. -
LAYOUT_sType
The memory layout ofsType
. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext
. -
LAYOUT_pNext
The memory layout ofpNext
. -
VH_pNext
-
OFFSET_dimensionCount
public static final long OFFSET_dimensionCountThe byte offset ofdimensionCount
. -
LAYOUT_dimensionCount
The memory layout ofdimensionCount
. -
VH_dimensionCount
-
OFFSET_pSrcOffset
public static final long OFFSET_pSrcOffsetThe byte offset ofpSrcOffset
. -
LAYOUT_pSrcOffset
The memory layout ofpSrcOffset
. -
VH_pSrcOffset
-
OFFSET_pDstOffset
public static final long OFFSET_pDstOffsetThe byte offset ofpDstOffset
. -
LAYOUT_pDstOffset
The memory layout ofpDstOffset
. -
VH_pDstOffset
-
OFFSET_pExtent
public static final long OFFSET_pExtentThe byte offset ofpExtent
. -
LAYOUT_pExtent
The memory layout ofpExtent
. -
VH_pExtent
-
-
Constructor Details
-
VkTensorCopyARM
CreatesVkTensorCopyARM
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkTensorCopyARM
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkTensorCopyARM
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkTensorCopyARM
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkTensorCopyARM
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkTensorCopyARM
-
alloc
Allocates aVkTensorCopyARM
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkTensorCopyARM
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count
- the new count- Returns:
- the reinterpreted buffer
-
sType
ReturnssType
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
sType
at the given index
-
sType
public int sType()ReturnssType
.- Returns:
sType
-
sType
SetssType
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
sType
SetssType
with the given value.- Parameters:
value
- the value- Returns:
this
-
pNext
ReturnspNext
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNext
-
pNext
SetspNext
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pNext
SetspNext
with the given value.- Parameters:
value
- the value- Returns:
this
-
dimensionCount
ReturnsdimensionCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
dimensionCount
at the given index
-
dimensionCount
public int dimensionCount()ReturnsdimensionCount
.- Returns:
dimensionCount
-
dimensionCount
SetsdimensionCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
dimensionCount
SetsdimensionCount
with the given value.- Parameters:
value
- the value- Returns:
this
-
pSrcOffset
ReturnspSrcOffset
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pSrcOffset
at the given index
-
pSrcOffset
-
pSrcOffset
SetspSrcOffset
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pSrcOffset
SetspSrcOffset
with the given value.- Parameters:
value
- the value- Returns:
this
-
pDstOffset
ReturnspDstOffset
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pDstOffset
at the given index
-
pDstOffset
-
pDstOffset
SetspDstOffset
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pDstOffset
SetspDstOffset
with the given value.- Parameters:
value
- the value- Returns:
this
-
pExtent
ReturnspExtent
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pExtent
at the given index
-
pExtent
-
pExtent
SetspExtent
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pExtent
SetspExtent
with the given value.- Parameters:
value
- the value- Returns:
this
-
asSlice
Creates a slice ofVkTensorCopyARM
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkTensorCopyARM
-
asSlice
Creates a slice ofVkTensorCopyARM
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkTensorCopyARM
-
at
VisitsVkTensorCopyARM
buffer at the given index.- Parameters:
index
- the index of this bufferfunc
- the function to run with the slice of this buffer- Returns:
this
-
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
-
dimensionCountAt
public int dimensionCountAt(long index) ReturnsdimensionCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
dimensionCount
at the given index
-
dimensionCountAt
SetsdimensionCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pSrcOffsetAt
ReturnspSrcOffset
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pSrcOffset
at the given index
-
pSrcOffsetAt
SetspSrcOffset
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pDstOffsetAt
ReturnspDstOffset
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pDstOffset
at the given index
-
pDstOffsetAt
SetspDstOffset
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pExtentAt
ReturnspExtent
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pExtent
at the given index
-
pExtentAt
SetspExtent
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-