Class VkTensorCopyARM
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.arm.struct.VkTensorCopyARM
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkTensorCopyARM.Buffer
Layout
struct VkTensorCopyARM {
(int) VkStructureType sType;
const void* pNext;
uint32_t dimensionCount;
const uint64_t* pSrcOffset;
const uint64_t* pDstOffset;
const uint64_t* pExtent;
};
-
Nested Class Summary
Nested Classes -
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) CreatesVkTensorCopyARM
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkTensorCopyARM
alloc
(SegmentAllocator allocator) Allocates aVkTensorCopyARM
with the given segment allocator.static VkTensorCopyARM.Buffer
alloc
(SegmentAllocator allocator, long count) Allocates aVkTensorCopyARM
with the given segment allocator and count.static VkTensorCopyARM
allocInit
(SegmentAllocator allocator, int sType) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.static VkTensorCopyARM
allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.static VkTensorCopyARM
allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int dimensionCount) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.static VkTensorCopyARM
allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int dimensionCount, MemorySegment pSrcOffset) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.static VkTensorCopyARM
allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int dimensionCount, MemorySegment pSrcOffset, MemorySegment pDstOffset) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.static VkTensorCopyARM
allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int dimensionCount, MemorySegment pSrcOffset, MemorySegment pDstOffset, MemorySegment pExtent) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.asBuffer()
Converts this instance to a buffer.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.static VkTensorCopyARM.Buffer
of
(MemorySegment segment) CreatesVkTensorCopyARM
with the given segment.static VkTensorCopyARM
ofNative
(MemorySegment segment) CreatesVkTensorCopyARM
with the given segment.static VkTensorCopyARM.Buffer
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.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.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.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.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.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 segment
-
-
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
-
allocInit
public static VkTensorCopyARM allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int dimensionCount, MemorySegment pSrcOffset, MemorySegment pDstOffset, MemorySegment pExtent) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
dimensionCount
-dimensionCount
pSrcOffset
-pSrcOffset
pDstOffset
-pDstOffset
pExtent
-pExtent
- Returns:
- the allocated
VkTensorCopyARM
-
allocInit
public static VkTensorCopyARM allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int dimensionCount, MemorySegment pSrcOffset, MemorySegment pDstOffset) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
dimensionCount
-dimensionCount
pSrcOffset
-pSrcOffset
pDstOffset
-pDstOffset
- Returns:
- the allocated
VkTensorCopyARM
-
allocInit
public static VkTensorCopyARM allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int dimensionCount, MemorySegment pSrcOffset) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
dimensionCount
-dimensionCount
pSrcOffset
-pSrcOffset
- Returns:
- the allocated
VkTensorCopyARM
-
allocInit
public static VkTensorCopyARM allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int dimensionCount) Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
dimensionCount
-dimensionCount
- Returns:
- the allocated
VkTensorCopyARM
-
allocInit
Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
- Returns:
- the allocated
VkTensorCopyARM
-
allocInit
Allocates aVkTensorCopyARM
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
- Returns:
- the allocated
VkTensorCopyARM
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
-
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
-