public class VkCooperativeMatrixPropertiesNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If some types are preferred over other types (e.g. for performance), they should appear earlier in the list enumerated by GetPhysicalDeviceCooperativeMatrixPropertiesNV.
At least one entry in the list must have power of two values for all of MSize, KSize, and NSize.
sType must be STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NVpNext must be NULLAType must be a valid VkComponentTypeNV valueBType must be a valid VkComponentTypeNV valueCType must be a valid VkComponentTypeNV valueDType must be a valid VkComponentTypeNV valuescope must be a valid VkScopeNV valueGetPhysicalDeviceCooperativeMatrixPropertiesNV
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.MSize – the number of rows in matrices A, C, and D.NSize – the number of columns in matrices B, C, D.KSize – the number of columns in matrix A and rows in matrix B.AType – the component type of matrix A, of type VkComponentTypeNV.BType – the component type of matrix B, of type VkComponentTypeNV.CType – the component type of matrix C, of type VkComponentTypeNV.DType – the component type of matrix D, of type VkComponentTypeNV.scope – the scope of all the matrix types, of type VkScopeNV.
struct VkCooperativeMatrixPropertiesNV {
VkStructureType sType;
void * pNext;
uint32_t MSize;
uint32_t NSize;
uint32_t KSize;
VkComponentTypeNV AType;
VkComponentTypeNV BType;
VkComponentTypeNV CType;
VkComponentTypeNV DType;
VkScopeNV scope;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkCooperativeMatrixPropertiesNV.Buffer
An array of
VkCooperativeMatrixPropertiesNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ATYPE
The struct member offsets.
|
static int |
BTYPE
The struct member offsets.
|
static int |
CTYPE
The struct member offsets.
|
static int |
DTYPE
The struct member offsets.
|
static int |
KSIZE
The struct member offsets.
|
static int |
MSIZE
The struct member offsets.
|
static int |
NSIZE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SCOPE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkCooperativeMatrixPropertiesNV(java.nio.ByteBuffer container)
Creates a
VkCooperativeMatrixPropertiesNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
AType()
Returns the value of the
AType field. |
VkCooperativeMatrixPropertiesNV |
AType(int value)
Sets the specified value to the
AType field. |
int |
BType()
Returns the value of the
BType field. |
VkCooperativeMatrixPropertiesNV |
BType(int value)
Sets the specified value to the
BType field. |
static VkCooperativeMatrixPropertiesNV |
calloc()
Returns a new
VkCooperativeMatrixPropertiesNV instance allocated with memCalloc. |
static VkCooperativeMatrixPropertiesNV.Buffer |
calloc(int capacity)
Returns a new
VkCooperativeMatrixPropertiesNV.Buffer instance allocated with memCalloc. |
static VkCooperativeMatrixPropertiesNV |
callocStack()
Returns a new
VkCooperativeMatrixPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCooperativeMatrixPropertiesNV.Buffer |
callocStack(int capacity)
Returns a new
VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCooperativeMatrixPropertiesNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCooperativeMatrixPropertiesNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCooperativeMatrixPropertiesNV |
create()
Returns a new
VkCooperativeMatrixPropertiesNV instance allocated with BufferUtils. |
static VkCooperativeMatrixPropertiesNV.Buffer |
create(int capacity)
Returns a new
VkCooperativeMatrixPropertiesNV.Buffer instance allocated with BufferUtils. |
static VkCooperativeMatrixPropertiesNV |
create(long address)
Returns a new
VkCooperativeMatrixPropertiesNV instance for the specified memory address. |
static VkCooperativeMatrixPropertiesNV.Buffer |
create(long address,
int capacity)
Create a
VkCooperativeMatrixPropertiesNV.Buffer instance at the specified memory. |
static VkCooperativeMatrixPropertiesNV |
createSafe(long address)
|
static VkCooperativeMatrixPropertiesNV.Buffer |
createSafe(long address,
int capacity)
|
int |
CType()
Returns the value of the
CType field. |
VkCooperativeMatrixPropertiesNV |
CType(int value)
Sets the specified value to the
CType field. |
int |
DType()
Returns the value of the
DType field. |
VkCooperativeMatrixPropertiesNV |
DType(int value)
Sets the specified value to the
DType field. |
int |
KSize()
Returns the value of the
KSize field. |
VkCooperativeMatrixPropertiesNV |
KSize(int value)
Sets the specified value to the
KSize field. |
static VkCooperativeMatrixPropertiesNV |
malloc()
Returns a new
VkCooperativeMatrixPropertiesNV instance allocated with memAlloc. |
static VkCooperativeMatrixPropertiesNV.Buffer |
malloc(int capacity)
Returns a new
VkCooperativeMatrixPropertiesNV.Buffer instance allocated with memAlloc. |
static VkCooperativeMatrixPropertiesNV |
mallocStack()
Returns a new
VkCooperativeMatrixPropertiesNV instance allocated on the thread-local MemoryStack. |
static VkCooperativeMatrixPropertiesNV.Buffer |
mallocStack(int capacity)
Returns a new
VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkCooperativeMatrixPropertiesNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the specified MemoryStack. |
static VkCooperativeMatrixPropertiesNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack. |
int |
MSize()
Returns the value of the
MSize field. |
VkCooperativeMatrixPropertiesNV |
MSize(int value)
Sets the specified value to the
MSize field. |
static int |
nAType(long struct)
Unsafe version of
AType(). |
static void |
nAType(long struct,
int value)
Unsafe version of
AType. |
static int |
nBType(long struct)
Unsafe version of
BType(). |
static void |
nBType(long struct,
int value)
Unsafe version of
BType. |
static int |
nCType(long struct)
Unsafe version of
CType(). |
static void |
nCType(long struct,
int value)
Unsafe version of
CType. |
static int |
nDType(long struct)
Unsafe version of
DType(). |
static void |
nDType(long struct,
int value)
Unsafe version of
DType. |
static int |
nKSize(long struct)
Unsafe version of
KSize(). |
static void |
nKSize(long struct,
int value)
Unsafe version of
KSize. |
static int |
nMSize(long struct)
Unsafe version of
MSize(). |
static void |
nMSize(long struct,
int value)
Unsafe version of
MSize. |
static int |
nNSize(long struct)
Unsafe version of
NSize(). |
static void |
nNSize(long struct,
int value)
Unsafe version of
NSize. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nscope(long struct)
Unsafe version of
scope(). |
static void |
nscope(long struct,
int value)
Unsafe version of
scope. |
int |
NSize()
Returns the value of the
NSize field. |
VkCooperativeMatrixPropertiesNV |
NSize(int value)
Sets the specified value to the
NSize field. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkCooperativeMatrixPropertiesNV |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
scope()
Returns the value of the
scope field. |
VkCooperativeMatrixPropertiesNV |
scope(int value)
Sets the specified value to the
scope field. |
VkCooperativeMatrixPropertiesNV |
set(int sType,
long pNext,
int MSize,
int NSize,
int KSize,
int AType,
int BType,
int CType,
int DType,
int scope)
Initializes this struct with the specified values.
|
VkCooperativeMatrixPropertiesNV |
set(VkCooperativeMatrixPropertiesNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkCooperativeMatrixPropertiesNV |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int MSIZE
public static final int NSIZE
public static final int KSIZE
public static final int ATYPE
public static final int BTYPE
public static final int CTYPE
public static final int DTYPE
public static final int SCOPE
public VkCooperativeMatrixPropertiesNV(java.nio.ByteBuffer container)
VkCooperativeMatrixPropertiesNV instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int MSize()
MSize field.public int NSize()
NSize field.public int KSize()
KSize field.public int AType()
AType field.public int BType()
BType field.public int CType()
CType field.public int DType()
DType field.public int scope()
scope field.public VkCooperativeMatrixPropertiesNV sType(int value)
sType field.public VkCooperativeMatrixPropertiesNV pNext(long value)
pNext field.public VkCooperativeMatrixPropertiesNV MSize(int value)
MSize field.public VkCooperativeMatrixPropertiesNV NSize(int value)
NSize field.public VkCooperativeMatrixPropertiesNV KSize(int value)
KSize field.public VkCooperativeMatrixPropertiesNV AType(int value)
AType field.public VkCooperativeMatrixPropertiesNV BType(int value)
BType field.public VkCooperativeMatrixPropertiesNV CType(int value)
CType field.public VkCooperativeMatrixPropertiesNV DType(int value)
DType field.public VkCooperativeMatrixPropertiesNV scope(int value)
scope field.public VkCooperativeMatrixPropertiesNV set(int sType, long pNext, int MSize, int NSize, int KSize, int AType, int BType, int CType, int DType, int scope)
public VkCooperativeMatrixPropertiesNV set(VkCooperativeMatrixPropertiesNV src)
src - the source structpublic static VkCooperativeMatrixPropertiesNV malloc()
VkCooperativeMatrixPropertiesNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkCooperativeMatrixPropertiesNV calloc()
VkCooperativeMatrixPropertiesNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkCooperativeMatrixPropertiesNV create()
VkCooperativeMatrixPropertiesNV instance allocated with BufferUtils.public static VkCooperativeMatrixPropertiesNV create(long address)
VkCooperativeMatrixPropertiesNV instance for the specified memory address.@Nullable public static VkCooperativeMatrixPropertiesNV createSafe(long address)
public static VkCooperativeMatrixPropertiesNV.Buffer malloc(int capacity)
VkCooperativeMatrixPropertiesNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCooperativeMatrixPropertiesNV.Buffer calloc(int capacity)
VkCooperativeMatrixPropertiesNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCooperativeMatrixPropertiesNV.Buffer create(int capacity)
VkCooperativeMatrixPropertiesNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkCooperativeMatrixPropertiesNV.Buffer create(long address, int capacity)
VkCooperativeMatrixPropertiesNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkCooperativeMatrixPropertiesNV.Buffer createSafe(long address, int capacity)
public static VkCooperativeMatrixPropertiesNV mallocStack()
VkCooperativeMatrixPropertiesNV instance allocated on the thread-local MemoryStack.public static VkCooperativeMatrixPropertiesNV callocStack()
VkCooperativeMatrixPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkCooperativeMatrixPropertiesNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkCooperativeMatrixPropertiesNV callocStack(org.lwjgl.system.MemoryStack stack)
VkCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkCooperativeMatrixPropertiesNV.Buffer mallocStack(int capacity)
VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkCooperativeMatrixPropertiesNV.Buffer callocStack(int capacity)
VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkCooperativeMatrixPropertiesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkCooperativeMatrixPropertiesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nMSize(long struct)
MSize().public static int nNSize(long struct)
NSize().public static int nKSize(long struct)
KSize().public static int nAType(long struct)
AType().public static int nBType(long struct)
BType().public static int nCType(long struct)
CType().public static int nDType(long struct)
DType().public static int nscope(long struct)
scope().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nMSize(long struct,
int value)
MSize.public static void nNSize(long struct,
int value)
NSize.public static void nKSize(long struct,
int value)
KSize.public static void nAType(long struct,
int value)
AType.public static void nBType(long struct,
int value)
BType.public static void nCType(long struct,
int value)
CType.public static void nDType(long struct,
int value)
DType.public static void nscope(long struct,
int value)
scope.Copyright LWJGL. All Rights Reserved. License terms.