Record Class VkConvertCooperativeVectorMatrixInfoNV
- All Implemented Interfaces:
IPointer,IVkConvertCooperativeVectorMatrixInfoNV
Represents a pointer to a VkConvertCooperativeVectorMatrixInfoNV structure in native memory.
Structure
typedef struct VkConvertCooperativeVectorMatrixInfoNV {
VkStructureType sType;
void const* pNext; // optional
size_t srcSize;
VkDeviceOrHostAddressConstKHR srcData;
size_t* pDstSize;
VkDeviceOrHostAddressKHR dstData;
VkComponentTypeKHR srcComponentType;
VkComponentTypeKHR dstComponentType;
uint32_t numRows;
uint32_t numColumns;
VkCooperativeVectorMatrixLayoutNV srcLayout;
size_t srcStride;
VkCooperativeVectorMatrixLayoutNV dstLayout;
size_t dstStride;
} VkConvertCooperativeVectorMatrixInfoNV;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_CONVERT_COOPERATIVE_VECTOR_MATRIX_INFO_NV
The allocate (allocate(Arena), allocate(Arena, long))
functions will automatically initialize these fields. Also, you may call autoInit()
to initialize these fields manually for non-allocated instances.
Contracts
The property segment() should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to
LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java
null instead. See the documentation of IPointer.segment() for more details.
The constructor of this class is marked as UnsafeConstructor, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a pointer to / an array ofVkConvertCooperativeVectorMatrixInfoNVstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final UnionLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final UnionLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkConvertCooperativeVectorMatrixInfoNV(@NotNull MemorySegment segment) Creates an instance of aVkConvertCooperativeVectorMatrixInfoNVrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidautoInit()clone(Arena arena, VkConvertCooperativeVectorMatrixInfoNV src) intdstComponentType(int value) @NotNull VkDeviceOrHostAddressKHRdstData()dstData(@NotNull VkDeviceOrHostAddressKHR value) dstData(Consumer<@NotNull VkDeviceOrHostAddressKHR> consumer) intdstLayout(int value) longdstStride(long value) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intnumColumns(int value) intnumRows()numRows(int value) @Nullable PointerPtrpDstSize()Note: the returnedPointerPtrdoes not have correctPointerPtr.size()property.pDstSize(@Nullable PointerPtr value) @NotNull MemorySegmentvoidpDstSizeRaw(@NotNull MemorySegment value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intsrcComponentType(int value) @NotNull VkDeviceOrHostAddressConstKHRsrcData()srcData(@NotNull VkDeviceOrHostAddressConstKHR value) srcData(Consumer<@NotNull VkDeviceOrHostAddressConstKHR> consumer) intsrcLayout(int value) longsrcSize()srcSize(long value) longsrcStride(long value) intsType()sType(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$srcSize
-
PATH$srcData
-
PATH$pDstSize
-
PATH$dstData
-
PATH$srcComponentType
-
PATH$dstComponentType
-
PATH$numRows
-
PATH$numColumns
-
PATH$srcLayout
-
PATH$srcStride
-
PATH$dstLayout
-
PATH$dstStride
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$srcData
-
LAYOUT$pDstSize
-
LAYOUT$dstData
-
LAYOUT$srcComponentType
-
LAYOUT$dstComponentType
-
LAYOUT$numRows
-
LAYOUT$numColumns
-
LAYOUT$srcLayout
-
LAYOUT$dstLayout
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$srcSize
public static final long SIZE$srcSize -
SIZE$srcData
public static final long SIZE$srcData -
SIZE$pDstSize
public static final long SIZE$pDstSize -
SIZE$dstData
public static final long SIZE$dstData -
SIZE$srcComponentType
public static final long SIZE$srcComponentType -
SIZE$dstComponentType
public static final long SIZE$dstComponentType -
SIZE$numRows
public static final long SIZE$numRows -
SIZE$numColumns
public static final long SIZE$numColumns -
SIZE$srcLayout
public static final long SIZE$srcLayout -
SIZE$srcStride
public static final long SIZE$srcStride -
SIZE$dstLayout
public static final long SIZE$dstLayout -
SIZE$dstStride
public static final long SIZE$dstStride -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$srcSize
public static final long OFFSET$srcSize -
OFFSET$srcData
public static final long OFFSET$srcData -
OFFSET$pDstSize
public static final long OFFSET$pDstSize -
OFFSET$dstData
public static final long OFFSET$dstData -
OFFSET$srcComponentType
public static final long OFFSET$srcComponentType -
OFFSET$dstComponentType
public static final long OFFSET$dstComponentType -
OFFSET$numRows
public static final long OFFSET$numRows -
OFFSET$numColumns
public static final long OFFSET$numColumns -
OFFSET$srcLayout
public static final long OFFSET$srcLayout -
OFFSET$srcStride
public static final long OFFSET$srcStride -
OFFSET$dstLayout
public static final long OFFSET$dstLayout -
OFFSET$dstStride
public static final long OFFSET$dstStride
-
-
Constructor Details
-
VkConvertCooperativeVectorMatrixInfoNV
Creates an instance of aVkConvertCooperativeVectorMatrixInfoNVrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkConvertCooperativeVectorMatrixInfoNV clone(Arena arena, VkConvertCooperativeVectorMatrixInfoNV src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
public VkConvertCooperativeVectorMatrixInfoNV pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
pNext
-
srcSize
-
srcSize
-
srcData
-
srcData
public VkConvertCooperativeVectorMatrixInfoNV srcData(@NotNull @NotNull VkDeviceOrHostAddressConstKHR value) -
srcData
public VkConvertCooperativeVectorMatrixInfoNV srcData(Consumer<@NotNull VkDeviceOrHostAddressConstKHR> consumer) -
pDstSize
Note: the returnedPointerPtrdoes not have correctPointerPtr.size()property. It's up to user to track the size of the buffer, and usePointerPtr.reinterpret(long)to set the size before actually reading from or writing to the buffer. -
pDstSize
-
pDstSizeRaw
-
pDstSizeRaw
-
dstData
-
dstData
public VkConvertCooperativeVectorMatrixInfoNV dstData(@NotNull @NotNull VkDeviceOrHostAddressKHR value) -
dstData
public VkConvertCooperativeVectorMatrixInfoNV dstData(Consumer<@NotNull VkDeviceOrHostAddressKHR> consumer) -
srcComponentType
-
srcComponentType
public VkConvertCooperativeVectorMatrixInfoNV srcComponentType(@EnumType(VkComponentTypeKHR.class) int value) -
dstComponentType
-
dstComponentType
public VkConvertCooperativeVectorMatrixInfoNV dstComponentType(@EnumType(VkComponentTypeKHR.class) int value) -
numRows
-
numRows
-
numColumns
-
numColumns
-
srcLayout
-
srcLayout
public VkConvertCooperativeVectorMatrixInfoNV srcLayout(@EnumType(VkCooperativeVectorMatrixLayoutNV.class) int value) -
srcStride
-
srcStride
-
dstLayout
-
dstLayout
public VkConvertCooperativeVectorMatrixInfoNV dstLayout(@EnumType(VkCooperativeVectorMatrixLayoutNV.class) int value) -
dstStride
-
dstStride
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
segment
Returns the value of thesegmentrecord component.
-