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;
{@link VkDeviceOrHostAddressConstKHR VkDeviceOrHostAddressConstKHR} srcData;
size_t * pDstSize;
{@link VkDeviceOrHostAddressKHR 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 class
An array ofVkConvertCooperativeVectorMatrixInfoNV
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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 aVkConvertCooperativeVectorMatrixInfoNV
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance for the specified memory address.create
(long address, int capacity) Create aVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance at the specified memory.static @Nullable VkConvertCooperativeVectorMatrixInfoNV
createSafe
(long address) static @Nullable VkConvertCooperativeVectorMatrixInfoNV.Buffer
createSafe
(long address, int capacity) int
dstComponentType
(int value) Sets the specified value to thedstComponentType
field.dstData()
dstData
(Consumer<VkDeviceOrHostAddressKHR> consumer) Passes thedstData
field to the specifiedConsumer
.dstData
(VkDeviceOrHostAddressKHR value) Copies the specifiedVkDeviceOrHostAddressKHR
to thedstData
field.int
dstLayout
(int value) Sets the specified value to thedstLayout
field.long
dstStride
(long value) Sets the specified value to thedstStride
field.malloc()
Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance allocated on the specifiedMemoryStack
.static int
ndstComponentType
(long struct) Unsafe version ofdstComponentType()
.static void
ndstComponentType
(long struct, int value) Unsafe version ofdstComponentType
.static VkDeviceOrHostAddressKHR
ndstData
(long struct) Unsafe version ofdstData()
.static void
ndstData
(long struct, VkDeviceOrHostAddressKHR value) Unsafe version ofdstData
.static int
ndstLayout
(long struct) Unsafe version ofdstLayout()
.static void
ndstLayout
(long struct, int value) Unsafe version ofdstLayout
.static long
ndstStride
(long struct) Unsafe version ofdstStride()
.static void
ndstStride
(long struct, long value) Unsafe version ofdstStride
.static int
nnumColumns
(long struct) Unsafe version ofnumColumns()
.static void
nnumColumns
(long struct, int value) Unsafe version ofnumColumns
.static int
nnumRows
(long struct) Unsafe version ofnumRows()
.static void
nnumRows
(long struct, int value) Unsafe version ofnumRows
.static @Nullable PointerBuffer
npDstSize
(long struct, int capacity) Unsafe version ofpDstSize
.static void
npDstSize
(long struct, @Nullable PointerBuffer value) Unsafe version ofpDstSize
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static int
nsrcComponentType
(long struct) Unsafe version ofsrcComponentType()
.static void
nsrcComponentType
(long struct, int value) Unsafe version ofsrcComponentType
.nsrcData
(long struct) Unsafe version ofsrcData()
.static void
nsrcData
(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofsrcData
.static int
nsrcLayout
(long struct) Unsafe version ofsrcLayout()
.static void
nsrcLayout
(long struct, int value) Unsafe version ofsrcLayout
.static long
nsrcSize
(long struct) Unsafe version ofsrcSize()
.static void
nsrcSize
(long struct, long value) Unsafe version ofsrcSize
.static long
nsrcStride
(long struct) Unsafe version ofsrcStride()
.static void
nsrcStride
(long struct, long value) Unsafe version ofsrcStride
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.int
numColumns
(int value) Sets the specified value to thenumColumns
field.int
numRows()
numRows
(int value) Sets the specified value to thenumRows
field.@Nullable PointerBuffer
pDstSize
(int capacity) pDstSize
(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBuffer
to thepDstSize
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.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.int
sizeof()
Returnssizeof(struct)
.int
srcComponentType
(int value) Sets the specified value to thesrcComponentType
field.srcData()
srcData
(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thesrcData
field to the specifiedConsumer
.Copies the specifiedVkDeviceOrHostAddressConstKHR
to thesrcData
field.int
srcLayout
(int value) Sets the specified value to thesrcLayout
field.long
srcSize()
srcSize
(long value) Sets the specified value to thesrcSize
field.long
srcStride
(long value) Sets the specified value to thesrcStride
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_CONVERT_COOPERATIVE_VECTOR_MATRIX_INFO_NV
value to thesType
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aVkConvertCooperativeVectorMatrixInfoNV
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkConvertCooperativeVectorMatrixInfoNV>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
srcSize
public long srcSize()- Returns:
- the value of the
srcSize
field.
-
srcData
- Returns:
- a
VkDeviceOrHostAddressConstKHR
view of thesrcData
field.
-
pDstSize
- Returns:
- a
PointerBuffer
view of the data pointed to by thepDstSize
field.
-
dstData
- Returns:
- a
VkDeviceOrHostAddressKHR
view of thedstData
field.
-
srcComponentType
public int srcComponentType()- Returns:
- the value of the
srcComponentType
field.
-
dstComponentType
public int dstComponentType()- Returns:
- the value of the
dstComponentType
field.
-
numRows
public int numRows()- Returns:
- the value of the
numRows
field.
-
numColumns
public int numColumns()- Returns:
- the value of the
numColumns
field.
-
srcLayout
public int srcLayout()- Returns:
- the value of the
srcLayout
field.
-
srcStride
public long srcStride()- Returns:
- the value of the
srcStride
field.
-
dstLayout
public int dstLayout()- Returns:
- the value of the
dstLayout
field.
-
dstStride
public long dstStride()- Returns:
- the value of the
dstStride
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_CONVERT_COOPERATIVE_VECTOR_MATRIX_INFO_NV
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
srcSize
Sets the specified value to thesrcSize
field. -
srcData
Copies the specifiedVkDeviceOrHostAddressConstKHR
to thesrcData
field. -
srcData
public VkConvertCooperativeVectorMatrixInfoNV srcData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thesrcData
field to the specifiedConsumer
. -
pDstSize
Sets the address of the specifiedPointerBuffer
to thepDstSize
field. -
dstData
Copies the specifiedVkDeviceOrHostAddressKHR
to thedstData
field. -
dstData
Passes thedstData
field to the specifiedConsumer
. -
srcComponentType
Sets the specified value to thesrcComponentType
field. -
dstComponentType
Sets the specified value to thedstComponentType
field. -
numRows
Sets the specified value to thenumRows
field. -
numColumns
Sets the specified value to thenumColumns
field. -
srcLayout
Sets the specified value to thesrcLayout
field. -
srcStride
Sets the specified value to thesrcStride
field. -
dstLayout
Sets the specified value to thedstLayout
field. -
dstStride
Sets the specified value to thedstStride
field. -
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 newVkConvertCooperativeVectorMatrixInfoNV
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance allocated withBufferUtils
. -
create
Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance 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 newVkConvertCooperativeVectorMatrixInfoNV
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-