Package org.lwjgl.vulkan
Class VkConvertCooperativeVectorMatrixInfoNV
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkConvertCooperativeVectorMatrixInfoNV>
org.lwjgl.vulkan.VkConvertCooperativeVectorMatrixInfoNV
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class VkConvertCooperativeVectorMatrixInfoNV
extends Struct<VkConvertCooperativeVectorMatrixInfoNV>
implements NativeResource
struct VkConvertCooperativeVectorMatrixInfoNV {
VkStructureType sType;
void const * pNext;
size_t srcSize;
VkDeviceOrHostAddressConstKHR srcData;
size_t * pDstSize;
VkDeviceOrHostAddressKHR dstData;
VkComponentTypeNV srcComponentType;
VkComponentTypeNV dstComponentType;
uint32_t numRows;
uint32_t numColumns;
VkCooperativeVectorMatrixLayoutNV srcLayout;
size_t srcStride;
VkCooperativeVectorMatrixLayoutNV dstLayout;
size_t dstStride;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkConvertCooperativeVectorMatrixInfoNVstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkConvertCooperativeVectorMatrixInfoNV(ByteBuffer container) Creates aVkConvertCooperativeVectorMatrixInfoNVinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated withBufferUtils.create(int capacity) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance for the specified memory address.create(long address, int capacity) Create aVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance at the specified memory.static @Nullable VkConvertCooperativeVectorMatrixInfoNVcreateSafe(long address) static @Nullable VkConvertCooperativeVectorMatrixInfoNV.BuffercreateSafe(long address, int capacity) intdstComponentType(int value) Sets the specified value to thedstComponentTypefield.dstData()dstData(Consumer<VkDeviceOrHostAddressKHR> consumer) Passes thedstDatafield to the specifiedConsumer.dstData(VkDeviceOrHostAddressKHR value) Copies the specifiedVkDeviceOrHostAddressKHRto thedstDatafield.intdstLayout(int value) Sets the specified value to thedstLayoutfield.longdstStride(long value) Sets the specified value to thedstStridefield.malloc()Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated on the specifiedMemoryStack.static intndstComponentType(long struct) Unsafe version ofdstComponentType().static voidndstComponentType(long struct, int value) Unsafe version ofdstComponentType.static VkDeviceOrHostAddressKHRndstData(long struct) Unsafe version ofdstData().static voidndstData(long struct, VkDeviceOrHostAddressKHR value) Unsafe version ofdstData.static intndstLayout(long struct) Unsafe version ofdstLayout().static voidndstLayout(long struct, int value) Unsafe version ofdstLayout.static longndstStride(long struct) Unsafe version ofdstStride().static voidndstStride(long struct, long value) Unsafe version ofdstStride.static intnnumColumns(long struct) Unsafe version ofnumColumns().static voidnnumColumns(long struct, int value) Unsafe version ofnumColumns.static intnnumRows(long struct) Unsafe version ofnumRows().static voidnnumRows(long struct, int value) Unsafe version ofnumRows.static @Nullable PointerBuffernpDstSize(long struct, int capacity) Unsafe version ofpDstSize.static voidnpDstSize(long struct, @Nullable PointerBuffer value) Unsafe version ofpDstSize.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnsrcComponentType(long struct) Unsafe version ofsrcComponentType().static voidnsrcComponentType(long struct, int value) Unsafe version ofsrcComponentType.nsrcData(long struct) Unsafe version ofsrcData().static voidnsrcData(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofsrcData.static intnsrcLayout(long struct) Unsafe version ofsrcLayout().static voidnsrcLayout(long struct, int value) Unsafe version ofsrcLayout.static longnsrcSize(long struct) Unsafe version ofsrcSize().static voidnsrcSize(long struct, long value) Unsafe version ofsrcSize.static longnsrcStride(long struct) Unsafe version ofsrcStride().static voidnsrcStride(long struct, long value) Unsafe version ofsrcStride.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.intnumColumns(int value) Sets the specified value to thenumColumnsfield.intnumRows()numRows(int value) Sets the specified value to thenumRowsfield.@Nullable PointerBufferpDstSize(int capacity) pDstSize(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBufferto thepDstSizefield.longpNext()pNext(long value) Sets the specified value to thepNextfield.set(int sType, long pNext, long srcSize, VkDeviceOrHostAddressConstKHR srcData, @Nullable PointerBuffer pDstSize, VkDeviceOrHostAddressKHR dstData, int srcComponentType, int dstComponentType, int numRows, int numColumns, int srcLayout, long srcStride, int dstLayout, long dstStride) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).intsrcComponentType(int value) Sets the specified value to thesrcComponentTypefield.srcData()srcData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thesrcDatafield to the specifiedConsumer.Copies the specifiedVkDeviceOrHostAddressConstKHRto thesrcDatafield.intsrcLayout(int value) Sets the specified value to thesrcLayoutfield.longsrcSize()srcSize(long value) Sets the specified value to thesrcSizefield.longsrcStride(long value) Sets the specified value to thesrcStridefield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_CONVERT_COOPERATIVE_VECTOR_MATRIX_INFO_NVvalue to thesTypefield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
SRCSIZE
public static final int SRCSIZEThe struct member offsets. -
SRCDATA
public static final int SRCDATAThe struct member offsets. -
PDSTSIZE
public static final int PDSTSIZEThe struct member offsets. -
DSTDATA
public static final int DSTDATAThe struct member offsets. -
SRCCOMPONENTTYPE
public static final int SRCCOMPONENTTYPEThe struct member offsets. -
DSTCOMPONENTTYPE
public static final int DSTCOMPONENTTYPEThe struct member offsets. -
NUMROWS
public static final int NUMROWSThe struct member offsets. -
NUMCOLUMNS
public static final int NUMCOLUMNSThe struct member offsets. -
SRCLAYOUT
public static final int SRCLAYOUTThe struct member offsets. -
SRCSTRIDE
public static final int SRCSTRIDEThe struct member offsets. -
DSTLAYOUT
public static final int DSTLAYOUTThe struct member offsets. -
DSTSTRIDE
public static final int DSTSTRIDEThe struct member offsets.
-
-
Constructor Details
-
VkConvertCooperativeVectorMatrixInfoNV
Creates aVkConvertCooperativeVectorMatrixInfoNVinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkConvertCooperativeVectorMatrixInfoNV>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
srcSize
public long srcSize()- Returns:
- the value of the
srcSizefield.
-
srcData
- Returns:
- a
VkDeviceOrHostAddressConstKHRview of thesrcDatafield.
-
pDstSize
- Returns:
- a
PointerBufferview of the data pointed to by thepDstSizefield.
-
dstData
- Returns:
- a
VkDeviceOrHostAddressKHRview of thedstDatafield.
-
srcComponentType
public int srcComponentType()- Returns:
- the value of the
srcComponentTypefield.
-
dstComponentType
public int dstComponentType()- Returns:
- the value of the
dstComponentTypefield.
-
numRows
public int numRows()- Returns:
- the value of the
numRowsfield.
-
numColumns
public int numColumns()- Returns:
- the value of the
numColumnsfield.
-
srcLayout
public int srcLayout()- Returns:
- the value of the
srcLayoutfield.
-
srcStride
public long srcStride()- Returns:
- the value of the
srcStridefield.
-
dstLayout
public int dstLayout()- Returns:
- the value of the
dstLayoutfield.
-
dstStride
public long dstStride()- Returns:
- the value of the
dstStridefield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_CONVERT_COOPERATIVE_VECTOR_MATRIX_INFO_NVvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
srcSize
Sets the specified value to thesrcSizefield. -
srcData
Copies the specifiedVkDeviceOrHostAddressConstKHRto thesrcDatafield. -
srcData
public VkConvertCooperativeVectorMatrixInfoNV srcData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thesrcDatafield to the specifiedConsumer. -
pDstSize
Sets the address of the specifiedPointerBufferto thepDstSizefield. -
dstData
Copies the specifiedVkDeviceOrHostAddressKHRto thedstDatafield. -
dstData
Passes thedstDatafield to the specifiedConsumer. -
srcComponentType
Sets the specified value to thesrcComponentTypefield. -
dstComponentType
Sets the specified value to thedstComponentTypefield. -
numRows
Sets the specified value to thenumRowsfield. -
numColumns
Sets the specified value to thenumColumnsfield. -
srcLayout
Sets the specified value to thesrcLayoutfield. -
srcStride
Sets the specified value to thesrcStridefield. -
dstLayout
Sets the specified value to thedstLayoutfield. -
dstStride
Sets the specified value to thedstStridefield. -
set
public VkConvertCooperativeVectorMatrixInfoNV set(int sType, long pNext, long srcSize, VkDeviceOrHostAddressConstKHR srcData, @Nullable PointerBuffer pDstSize, VkDeviceOrHostAddressKHR dstData, int srcComponentType, int dstComponentType, int numRows, int numColumns, int srcLayout, long srcStride, int dstLayout, long dstStride) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated withBufferUtils. -
create
Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkConvertCooperativeVectorMatrixInfoNV.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkConvertCooperativeVectorMatrixInfoNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nsrcSize
public static long nsrcSize(long struct) Unsafe version ofsrcSize(). -
nsrcData
Unsafe version ofsrcData(). -
npDstSize
Unsafe version ofpDstSize. -
ndstData
Unsafe version ofdstData(). -
nsrcComponentType
public static int nsrcComponentType(long struct) Unsafe version ofsrcComponentType(). -
ndstComponentType
public static int ndstComponentType(long struct) Unsafe version ofdstComponentType(). -
nnumRows
public static int nnumRows(long struct) Unsafe version ofnumRows(). -
nnumColumns
public static int nnumColumns(long struct) Unsafe version ofnumColumns(). -
nsrcLayout
public static int nsrcLayout(long struct) Unsafe version ofsrcLayout(). -
nsrcStride
public static long nsrcStride(long struct) Unsafe version ofsrcStride(). -
ndstLayout
public static int ndstLayout(long struct) Unsafe version ofdstLayout(). -
ndstStride
public static long ndstStride(long struct) Unsafe version ofdstStride(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext. -
nsrcSize
public static void nsrcSize(long struct, long value) Unsafe version ofsrcSize. -
nsrcData
Unsafe version ofsrcData. -
npDstSize
Unsafe version ofpDstSize. -
ndstData
Unsafe version ofdstData. -
nsrcComponentType
public static void nsrcComponentType(long struct, int value) Unsafe version ofsrcComponentType. -
ndstComponentType
public static void ndstComponentType(long struct, int value) Unsafe version ofdstComponentType. -
nnumRows
public static void nnumRows(long struct, int value) Unsafe version ofnumRows. -
nnumColumns
public static void nnumColumns(long struct, int value) Unsafe version ofnumColumns. -
nsrcLayout
public static void nsrcLayout(long struct, int value) Unsafe version ofsrcLayout. -
nsrcStride
public static void nsrcStride(long struct, long value) Unsafe version ofsrcStride. -
ndstLayout
public static void ndstLayout(long struct, int value) Unsafe version ofdstLayout. -
ndstStride
public static void ndstStride(long struct, long value) Unsafe version ofdstStride.
-