Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkCooperativeMatrixPropertiesNV

extends Struct<VkCooperativeMatrixPropertiesNV>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying cooperative matrix properties.
Description

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.

Valid Usage (Implicit)
See Also

GetPhysicalDeviceCooperativeMatrixPropertiesNV

Layout


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;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
ATYPE

The struct member offsets.

public static final int
BTYPE

The struct member offsets.

public static final int
CTYPE

The struct member offsets.

public static final int
DTYPE

The struct member offsets.

public static final int
KSIZE

The struct member offsets.

public static final int
MSIZE

The struct member offsets.

public static final int
NSIZE

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
SCOPE

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkCooperativeMatrixPropertiesNV(ByteBuffer container)

Creates a VkCooperativeMatrixPropertiesNV instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public int
AType()

the component type of matrix A, of type VkComponentTypeNV.

public VkCooperativeMatrixPropertiesNV
AType(int value)

Sets the specified value to the AType field.

public int
BType()

the component type of matrix B, of type VkComponentTypeNV.

public VkCooperativeMatrixPropertiesNV
BType(int value)

Sets the specified value to the BType field.

public static VkCooperativeMatrixPropertiesNV
calloc()

Returns a new VkCooperativeMatrixPropertiesNV instance allocated with memCalloc.

public static VkCooperativeMatrixPropertiesNV.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkCooperativeMatrixPropertiesNV.Buffer instance allocated with memCalloc.

public static VkCooperativeMatrixPropertiesNV
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkCooperativeMatrixPropertiesNV.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkCooperativeMatrixPropertiesNV
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkCooperativeMatrixPropertiesNV
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkCooperativeMatrixPropertiesNV.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkCooperativeMatrixPropertiesNV.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkCooperativeMatrixPropertiesNV
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkCooperativeMatrixPropertiesNV
create()

Returns a new VkCooperativeMatrixPropertiesNV instance allocated with BufferUtils.

public static VkCooperativeMatrixPropertiesNV
create(long address)

Returns a new VkCooperativeMatrixPropertiesNV instance for the specified memory address.

public static VkCooperativeMatrixPropertiesNV.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkCooperativeMatrixPropertiesNV.Buffer instance allocated with BufferUtils.

public static VkCooperativeMatrixPropertiesNV.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkCooperativeMatrixPropertiesNV.Buffer instance at the specified memory.

public static VkCooperativeMatrixPropertiesNV
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkCooperativeMatrixPropertiesNV.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
CType()

the component type of matrix C, of type VkComponentTypeNV.

public VkCooperativeMatrixPropertiesNV
CType(int value)

Sets the specified value to the CType field.

public int
DType()

the component type of matrix D, of type VkComponentTypeNV.

public VkCooperativeMatrixPropertiesNV
DType(int value)

Sets the specified value to the DType field.

public int
KSize()

the number of columns in matrix A and rows in matrix B.

public VkCooperativeMatrixPropertiesNV
KSize(int value)

Sets the specified value to the KSize field.

public static VkCooperativeMatrixPropertiesNV
malloc()

Returns a new VkCooperativeMatrixPropertiesNV instance allocated with memAlloc.

public static VkCooperativeMatrixPropertiesNV.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkCooperativeMatrixPropertiesNV.Buffer instance allocated with memAlloc.

public static VkCooperativeMatrixPropertiesNV
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack.

public static VkCooperativeMatrixPropertiesNV.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCooperativeMatrixPropertiesNV.Buffer instance allocated on the specified MemoryStack.

public static VkCooperativeMatrixPropertiesNV
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkCooperativeMatrixPropertiesNV
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkCooperativeMatrixPropertiesNV.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkCooperativeMatrixPropertiesNV.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public int
MSize()

the number of rows in matrices A, C, and D.

public VkCooperativeMatrixPropertiesNV
MSize(int value)

Sets the specified value to the MSize field.

public static int
nAType(long struct)

Unsafe version of AType.

public static void
nAType(long struct, int value)

Unsafe version of AType.

public static int
nBType(long struct)

Unsafe version of BType.

public static void
nBType(long struct, int value)

Unsafe version of BType.

public static int
nCType(long struct)

Unsafe version of CType.

public static void
nCType(long struct, int value)

Unsafe version of CType.

public static int
nDType(long struct)

Unsafe version of DType.

public static void
nDType(long struct, int value)

Unsafe version of DType.

public static int
nKSize(long struct)

Unsafe version of KSize.

public static void
nKSize(long struct, int value)

Unsafe version of KSize.

public static int
nMSize(long struct)

Unsafe version of MSize.

public static void
nMSize(long struct, int value)

Unsafe version of MSize.

public static int
nNSize(long struct)

Unsafe version of NSize.

public static void
nNSize(long struct, int value)

Unsafe version of NSize.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nscope(long struct)

Unsafe version of scope.

public static void
nscope(long struct, int value)

Unsafe version of scope.

public int
NSize()

the number of columns in matrices B, C, D.

public VkCooperativeMatrixPropertiesNV
NSize(int value)

Sets the specified value to the NSize field.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkCooperativeMatrixPropertiesNV
pNext(long value)

Sets the specified value to the pNext field.

public int
scope()

the scope of all the matrix types, of type VkScopeNV.

public VkCooperativeMatrixPropertiesNV
scope(int value)

Sets the specified value to the 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)

Initializes this struct with the specified values.

public VkCooperativeMatrixPropertiesNV

Returns:

this struct
set
(VkCooperativeMatrixPropertiesNV
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkCooperativeMatrixPropertiesNV
sType(int value)

Sets the specified value to the sType field.

public VkCooperativeMatrixPropertiesNV
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate