Class VkTensorCopyARM

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.arm.struct.VkTensorCopyARM
All Implemented Interfaces:
Addressable
Direct Known Subclasses:
VkTensorCopyARM.Buffer

public sealed class VkTensorCopyARM extends GroupType permits 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;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkTensorCopyARM.
    • OFFSET_sType

      public static final long OFFSET_sType
      The byte offset of sType.
    • LAYOUT_sType

      public static final MemoryLayout LAYOUT_sType
      The memory layout of sType.
    • VH_sType

      public static final VarHandle VH_sType
      The VarHandle of sType of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pNext

      public static final long OFFSET_pNext
      The byte offset of pNext.
    • LAYOUT_pNext

      public static final MemoryLayout LAYOUT_pNext
      The memory layout of pNext.
    • VH_pNext

      public static final VarHandle VH_pNext
      The VarHandle of pNext of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_dimensionCount

      public static final long OFFSET_dimensionCount
      The byte offset of dimensionCount.
    • LAYOUT_dimensionCount

      public static final MemoryLayout LAYOUT_dimensionCount
      The memory layout of dimensionCount.
    • VH_dimensionCount

      public static final VarHandle VH_dimensionCount
      The VarHandle of dimensionCount of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pSrcOffset

      public static final long OFFSET_pSrcOffset
      The byte offset of pSrcOffset.
    • LAYOUT_pSrcOffset

      public static final MemoryLayout LAYOUT_pSrcOffset
      The memory layout of pSrcOffset.
    • VH_pSrcOffset

      public static final VarHandle VH_pSrcOffset
      The VarHandle of pSrcOffset of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pDstOffset

      public static final long OFFSET_pDstOffset
      The byte offset of pDstOffset.
    • LAYOUT_pDstOffset

      public static final MemoryLayout LAYOUT_pDstOffset
      The memory layout of pDstOffset.
    • VH_pDstOffset

      public static final VarHandle VH_pDstOffset
      The VarHandle of pDstOffset of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pExtent

      public static final long OFFSET_pExtent
      The byte offset of pExtent.
    • LAYOUT_pExtent

      public static final MemoryLayout LAYOUT_pExtent
      The memory layout of pExtent.
    • VH_pExtent

      public static final VarHandle VH_pExtent
      The VarHandle of pExtent of type (MemorySegment base, long baseOffset, long index)MemorySegment.
  • Constructor Details

    • VkTensorCopyARM

      public VkTensorCopyARM(MemorySegment segment)
      Creates VkTensorCopyARM with the given segment.
      Parameters:
      segment - the memory segment
  • Method Details

    • of

      public static VkTensorCopyARM.Buffer of(MemorySegment segment)
      Creates VkTensorCopyARM with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkTensorCopyARM ofNative(MemorySegment segment)

      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 is NULL
    • ofNative

      public static VkTensorCopyARM.Buffer ofNative(MemorySegment segment, long count)

      Creates VkTensorCopyARM with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      count - the count of the buffer
      Returns:
      the created instance or null if the segment is NULL
    • alloc

      public static VkTensorCopyARM alloc(SegmentAllocator allocator)
      Allocates a VkTensorCopyARM with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkTensorCopyARM
    • alloc

      public static VkTensorCopyARM.Buffer alloc(SegmentAllocator allocator, long count)
      Allocates a VkTensorCopyARM with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - 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 a VkTensorCopyARM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - 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 a VkTensorCopyARM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - 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 a VkTensorCopyARM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - 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 a VkTensorCopyARM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      dimensionCount - dimensionCount
      Returns:
      the allocated VkTensorCopyARM
    • allocInit

      public static VkTensorCopyARM allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext)
      Allocates a VkTensorCopyARM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      Returns:
      the allocated VkTensorCopyARM
    • allocInit

      public static VkTensorCopyARM allocInit(SegmentAllocator allocator, int sType)
      Allocates a VkTensorCopyARM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      Returns:
      the allocated VkTensorCopyARM
    • copyFrom

      public VkTensorCopyARM copyFrom(VkTensorCopyARM src)
      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • asBuffer

      public VkTensorCopyARM.Buffer asBuffer()
      Converts this instance to a buffer.
      Returns:
      the buffer
    • sType

      public static int sType(MemorySegment segment, long index)
      Returns sType at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sType

      public int sType()
      Returns sType.
      Returns:
      sType
    • sType

      public static void sType(MemorySegment segment, long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • sType

      public VkTensorCopyARM sType(int value)
      Sets sType with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pNext

      public static MemorySegment pNext(MemorySegment segment, long index)
      Returns pNext at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNext

      public MemorySegment pNext()
      Returns pNext.
      Returns:
      pNext
    • pNext

      public static void pNext(MemorySegment segment, long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pNext

      public VkTensorCopyARM pNext(MemorySegment value)
      Sets pNext with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • dimensionCount

      public static int dimensionCount(MemorySegment segment, long index)
      Returns dimensionCount at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      dimensionCount at the given index
    • dimensionCount

      public int dimensionCount()
      Returns dimensionCount.
      Returns:
      dimensionCount
    • dimensionCount

      public static void dimensionCount(MemorySegment segment, long index, int value)
      Sets dimensionCount with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • dimensionCount

      public VkTensorCopyARM dimensionCount(int value)
      Sets dimensionCount with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pSrcOffset

      public static MemorySegment pSrcOffset(MemorySegment segment, long index)
      Returns pSrcOffset at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pSrcOffset at the given index
    • pSrcOffset

      public MemorySegment pSrcOffset()
      Returns pSrcOffset.
      Returns:
      pSrcOffset
    • pSrcOffset

      public static void pSrcOffset(MemorySegment segment, long index, MemorySegment value)
      Sets pSrcOffset with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pSrcOffset

      public VkTensorCopyARM pSrcOffset(MemorySegment value)
      Sets pSrcOffset with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pDstOffset

      public static MemorySegment pDstOffset(MemorySegment segment, long index)
      Returns pDstOffset at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pDstOffset at the given index
    • pDstOffset

      public MemorySegment pDstOffset()
      Returns pDstOffset.
      Returns:
      pDstOffset
    • pDstOffset

      public static void pDstOffset(MemorySegment segment, long index, MemorySegment value)
      Sets pDstOffset with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pDstOffset

      public VkTensorCopyARM pDstOffset(MemorySegment value)
      Sets pDstOffset with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pExtent

      public static MemorySegment pExtent(MemorySegment segment, long index)
      Returns pExtent at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pExtent at the given index
    • pExtent

      public MemorySegment pExtent()
      Returns pExtent.
      Returns:
      pExtent
    • pExtent

      public static void pExtent(MemorySegment segment, long index, MemorySegment value)
      Sets pExtent with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pExtent

      public VkTensorCopyARM pExtent(MemorySegment value)
      Sets pExtent with the given value.
      Parameters:
      value - the value
      Returns:
      this