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 record
Represents a pointer to / an array ofVkConvertCooperativeVectorMatrixInfoNV
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfInt
static final UnionLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfInt
static final UnionLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkConvertCooperativeVectorMatrixInfoNV
(@NotNull MemorySegment segment) Creates an instance of aVkConvertCooperativeVectorMatrixInfoNV
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkConvertCooperativeVectorMatrixInfoNV src) int
dstComponentType
(int value) @NotNull VkDeviceOrHostAddressKHR
dstData()
dstData
(@NotNull VkDeviceOrHostAddressKHR value) dstData
(Consumer<@NotNull VkDeviceOrHostAddressKHR> consumer) int
dstLayout
(int value) long
dstStride
(long value) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
numColumns
(int value) int
numRows()
numRows
(int value) @Nullable PointerPtr
pDstSize()
Note: the returnedPointerPtr
does not have correctPointerPtr.size()
property.pDstSize
(@Nullable PointerPtr value) void
pDstSizeRaw
(MemorySegment value) pNext()
void
pNext
(MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
srcComponentType
(int value) @NotNull VkDeviceOrHostAddressConstKHR
srcData()
srcData
(@NotNull VkDeviceOrHostAddressConstKHR value) srcData
(Consumer<@NotNull VkDeviceOrHostAddressConstKHR> consumer) int
srcLayout
(int value) long
srcSize()
srcSize
(long value) long
srcStride
(long value) int
sType()
sType
(int value) final String
toString()
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 aVkConvertCooperativeVectorMatrixInfoNV
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkConvertCooperativeVectorMatrixInfoNV clone(Arena arena, VkConvertCooperativeVectorMatrixInfoNV src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
srcSize
-
srcSize
-
srcData
-
srcData
public VkConvertCooperativeVectorMatrixInfoNV srcData(@NotNull @NotNull VkDeviceOrHostAddressConstKHR value) -
srcData
public VkConvertCooperativeVectorMatrixInfoNV srcData(Consumer<@NotNull VkDeviceOrHostAddressConstKHR> consumer) -
pDstSize
Note: the returnedPointerPtr
does 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 thesegment
record component.
-