Class VkTensorCopyARM
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.arm.struct.VkTensorCopyARM
- All Implemented Interfaces:
Addressable
Represents VkTensorCopyARM.
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 StructLayoutThe struct layout ofVkTensorCopyARM.static final MemoryLayoutThe memory layout ofdimensionCount.static final MemoryLayoutThe memory layout ofpDstOffset.static final MemoryLayoutThe memory layout ofpExtent.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofpSrcOffset.static final MemoryLayoutThe memory layout ofsType.static final longThe byte offset ofdimensionCount.static final longThe byte offset ofpDstOffset.static final longThe byte offset ofpExtent.static final longThe byte offset ofpNext.static final longThe byte offset ofpSrcOffset.static final longThe byte offset ofsType.static final VarHandleTheVarHandleofdimensionCountof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkTensorCopyARM(MemorySegment segment, long elementCount) CreatesVkTensorCopyARMwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkTensorCopyARMalloc(SegmentAllocator allocator) Allocates aVkTensorCopyARMwith the given segment allocator.static VkTensorCopyARMalloc(SegmentAllocator allocator, long count) Allocates aVkTensorCopyARMwith 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) VisitsVkTensorCopyARMbuffer at the given index.copyFrom(VkTensorCopyARM src) Copies from the given source.intReturnsdimensionCount.dimensionCount(int value) SetsdimensionCountwith the given value.static intdimensionCount(MemorySegment segment, long index) ReturnsdimensionCountat the given index.static voiddimensionCount(MemorySegment segment, long index, int value) SetsdimensionCountwith the given value at the given index.intdimensionCountAt(long index) ReturnsdimensionCountat the given index.dimensionCountAt(long index, int value) SetsdimensionCountwith the given value at the given index.static VkTensorCopyARMof(MemorySegment segment) CreatesVkTensorCopyARMwith the given segment.static VkTensorCopyARMofNative(MemorySegment segment) CreatesVkTensorCopyARMwith the given segment.static VkTensorCopyARMofNative(MemorySegment segment, long count) CreatesVkTensorCopyARMwith the given segment.ReturnspDstOffset.pDstOffset(MemorySegment value) SetspDstOffsetwith the given value.static MemorySegmentpDstOffset(MemorySegment segment, long index) ReturnspDstOffsetat the given index.static voidpDstOffset(MemorySegment segment, long index, MemorySegment value) SetspDstOffsetwith the given value at the given index.pDstOffsetAt(long index) ReturnspDstOffsetat the given index.pDstOffsetAt(long index, MemorySegment value) SetspDstOffsetwith the given value at the given index.pExtent()ReturnspExtent.pExtent(MemorySegment value) SetspExtentwith the given value.static MemorySegmentpExtent(MemorySegment segment, long index) ReturnspExtentat the given index.static voidpExtent(MemorySegment segment, long index, MemorySegment value) SetspExtentwith the given value at the given index.pExtentAt(long index) ReturnspExtentat the given index.pExtentAt(long index, MemorySegment value) SetspExtentwith the given value at the given index.pNext()ReturnspNext.pNext(MemorySegment value) SetspNextwith the given value.static MemorySegmentpNext(MemorySegment segment, long index) ReturnspNextat the given index.static voidpNext(MemorySegment segment, long index, MemorySegment value) SetspNextwith the given value at the given index.pNextAt(long index) ReturnspNextat the given index.pNextAt(long index, MemorySegment value) SetspNextwith the given value at the given index.ReturnspSrcOffset.pSrcOffset(MemorySegment value) SetspSrcOffsetwith the given value.static MemorySegmentpSrcOffset(MemorySegment segment, long index) ReturnspSrcOffsetat the given index.static voidpSrcOffset(MemorySegment segment, long index, MemorySegment value) SetspSrcOffsetwith the given value at the given index.pSrcOffsetAt(long index) ReturnspSrcOffsetat the given index.pSrcOffsetAt(long index, MemorySegment value) SetspSrcOffsetwith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.intsType()ReturnssType.sType(int value) SetssTypewith the given value.static intsType(MemorySegment segment, long index) ReturnssTypeat the given index.static voidsType(MemorySegment segment, long index, int value) SetssTypewith the given value at the given index.intsTypeAt(long index) ReturnssTypeat the given index.sTypeAt(long index, int value) SetssTypewith the given value at the given index.Methods inherited from class 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
CreatesVkTensorCopyARMwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkTensorCopyARMwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkTensorCopyARMwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkTensorCopyARMwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aVkTensorCopyARMwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkTensorCopyARM
-
alloc
Allocates aVkTensorCopyARMwith 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
ReturnssTypeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
sTypeat the given index
-
sType
public int sType()ReturnssType.- Returns:
sType
-
sType
SetssTypewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
sType
SetssTypewith the given value.- Parameters:
value- the value- Returns:
this
-
pNext
ReturnspNextat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pNextat the given index
-
pNext
-
pNext
SetspNextwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pNext
SetspNextwith the given value.- Parameters:
value- the value- Returns:
this
-
dimensionCount
ReturnsdimensionCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
dimensionCountat the given index
-
dimensionCount
public int dimensionCount()ReturnsdimensionCount.- Returns:
dimensionCount
-
dimensionCount
SetsdimensionCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
dimensionCount
SetsdimensionCountwith the given value.- Parameters:
value- the value- Returns:
this
-
pSrcOffset
ReturnspSrcOffsetat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pSrcOffsetat the given index
-
pSrcOffset
-
pSrcOffset
SetspSrcOffsetwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pSrcOffset
SetspSrcOffsetwith the given value.- Parameters:
value- the value- Returns:
this
-
pDstOffset
ReturnspDstOffsetat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pDstOffsetat the given index
-
pDstOffset
-
pDstOffset
SetspDstOffsetwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pDstOffset
SetspDstOffsetwith the given value.- Parameters:
value- the value- Returns:
this
-
pExtent
ReturnspExtentat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pExtentat the given index
-
pExtent
-
pExtent
SetspExtentwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pExtent
SetspExtentwith 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
VisitsVkTensorCopyARMbuffer 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) ReturnssTypeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
sTypeat the given index
-
sTypeAt
SetssTypewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pNextAt
ReturnspNextat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pNextat the given index
-
pNextAt
SetspNextwith 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) ReturnsdimensionCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
dimensionCountat the given index
-
dimensionCountAt
SetsdimensionCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pSrcOffsetAt
ReturnspSrcOffsetat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pSrcOffsetat the given index
-
pSrcOffsetAt
SetspSrcOffsetwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pDstOffsetAt
ReturnspDstOffsetat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pDstOffsetat the given index
-
pDstOffsetAt
SetspDstOffsetwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pExtentAt
ReturnspExtentat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pExtentat the given index
-
pExtentAt
SetspExtentwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-