Package org.lwjgl.vulkan
Class VkCooperativeMatrixPropertiesNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCooperativeMatrixPropertiesNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkCooperativeMatrixPropertiesNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure 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, andNSize.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NVpNextmust beNULLATypemust be a validVkComponentTypeNVvalueBTypemust be a validVkComponentTypeNVvalueCTypemust be a validVkComponentTypeNVvalueDTypemust be a validVkComponentTypeNVvaluescopemust be a validVkScopeNVvalue
See Also
GetPhysicalDeviceCooperativeMatrixPropertiesNVLayout
struct VkCooperativeMatrixPropertiesNV { VkStructureTypesType(); void *pNext(); uint32_tMSize(); uint32_tNSize(); uint32_tKSize(); VkComponentTypeNVAType(); VkComponentTypeNVBType(); VkComponentTypeNVCType(); VkComponentTypeNVDType(); VkScopeNVscope(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkCooperativeMatrixPropertiesNV.BufferAn array ofVkCooperativeMatrixPropertiesNVstructs.
-
Constructor Summary
Constructors Constructor Description VkCooperativeMatrixPropertiesNV(java.nio.ByteBuffer container)Creates aVkCooperativeMatrixPropertiesNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intAType()the component type of matrix A, of typeVkComponentTypeNV.VkCooperativeMatrixPropertiesNVAType(int value)Sets the specified value to theAType()field.intBType()the component type of matrix B, of typeVkComponentTypeNV.VkCooperativeMatrixPropertiesNVBType(int value)Sets the specified value to theBType()field.static VkCooperativeMatrixPropertiesNVcalloc()Returns a newVkCooperativeMatrixPropertiesNVinstance allocated withmemCalloc.static VkCooperativeMatrixPropertiesNV.Buffercalloc(int capacity)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated withmemCalloc.static VkCooperativeMatrixPropertiesNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCooperativeMatrixPropertiesNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCooperativeMatrixPropertiesNVcallocStack()Deprecated.static VkCooperativeMatrixPropertiesNV.BuffercallocStack(int capacity)Deprecated.static VkCooperativeMatrixPropertiesNV.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkCooperativeMatrixPropertiesNVcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkCooperativeMatrixPropertiesNVcreate()Returns a newVkCooperativeMatrixPropertiesNVinstance allocated withBufferUtils.static VkCooperativeMatrixPropertiesNV.Buffercreate(int capacity)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated withBufferUtils.static VkCooperativeMatrixPropertiesNVcreate(long address)Returns a newVkCooperativeMatrixPropertiesNVinstance for the specified memory address.static VkCooperativeMatrixPropertiesNV.Buffercreate(long address, int capacity)Create aVkCooperativeMatrixPropertiesNV.Bufferinstance at the specified memory.static VkCooperativeMatrixPropertiesNVcreateSafe(long address)static VkCooperativeMatrixPropertiesNV.BuffercreateSafe(long address, int capacity)intCType()the component type of matrix C, of typeVkComponentTypeNV.VkCooperativeMatrixPropertiesNVCType(int value)Sets the specified value to theCType()field.intDType()the component type of matrix D, of typeVkComponentTypeNV.VkCooperativeMatrixPropertiesNVDType(int value)Sets the specified value to theDType()field.intKSize()the number of columns in matrix A and rows in matrix B.VkCooperativeMatrixPropertiesNVKSize(int value)Sets the specified value to theKSize()field.static VkCooperativeMatrixPropertiesNVmalloc()Returns a newVkCooperativeMatrixPropertiesNVinstance allocated withmemAlloc.static VkCooperativeMatrixPropertiesNV.Buffermalloc(int capacity)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated withmemAlloc.static VkCooperativeMatrixPropertiesNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the specifiedMemoryStack.static VkCooperativeMatrixPropertiesNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the specifiedMemoryStack.static VkCooperativeMatrixPropertiesNVmallocStack()Deprecated.static VkCooperativeMatrixPropertiesNV.BuffermallocStack(int capacity)Deprecated.static VkCooperativeMatrixPropertiesNV.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkCooperativeMatrixPropertiesNVmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.intMSize()the number of rows in matrices A, C, and D.VkCooperativeMatrixPropertiesNVMSize(int value)Sets the specified value to theMSize()field.static intnAType(long struct)Unsafe version ofAType().static voidnAType(long struct, int value)Unsafe version ofAType.static intnBType(long struct)Unsafe version ofBType().static voidnBType(long struct, int value)Unsafe version ofBType.static intnCType(long struct)Unsafe version ofCType().static voidnCType(long struct, int value)Unsafe version ofCType.static intnDType(long struct)Unsafe version ofDType().static voidnDType(long struct, int value)Unsafe version ofDType.static intnKSize(long struct)Unsafe version ofKSize().static voidnKSize(long struct, int value)Unsafe version ofKSize.static intnMSize(long struct)Unsafe version ofMSize().static voidnMSize(long struct, int value)Unsafe version ofMSize.static intnNSize(long struct)Unsafe version ofNSize().static voidnNSize(long struct, int value)Unsafe version ofNSize.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnscope(long struct)Unsafe version ofscope().static voidnscope(long struct, int value)Unsafe version ofscope.intNSize()the number of columns in matrices B, C, D.VkCooperativeMatrixPropertiesNVNSize(int value)Sets the specified value to theNSize()field.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkCooperativeMatrixPropertiesNVpNext(long value)Sets the specified value to thepNext()field.intscope()the scope of all the matrix types, of typeVkScopeNV.VkCooperativeMatrixPropertiesNVscope(int value)Sets the specified value to thescope()field.VkCooperativeMatrixPropertiesNVset(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.VkCooperativeMatrixPropertiesNVset(VkCooperativeMatrixPropertiesNV src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkCooperativeMatrixPropertiesNVsType(int value)Sets the specified value to thesType()field.VkCooperativeMatrixPropertiesNVsType$Default()Sets theSTRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NVvalue to thesType()field.
-
-
-
Constructor Detail
-
VkCooperativeMatrixPropertiesNV
public VkCooperativeMatrixPropertiesNV(java.nio.ByteBuffer container)
Creates aVkCooperativeMatrixPropertiesNVinstance 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
MSize
public int MSize()
the number of rows in matrices A, C, and D.
-
NSize
public int NSize()
the number of columns in matrices B, C, D.
-
KSize
public int KSize()
the number of columns in matrix A and rows in matrix B.
-
AType
public int AType()
the component type of matrix A, of typeVkComponentTypeNV.
-
BType
public int BType()
the component type of matrix B, of typeVkComponentTypeNV.
-
CType
public int CType()
the component type of matrix C, of typeVkComponentTypeNV.
-
DType
public int DType()
the component type of matrix D, of typeVkComponentTypeNV.
-
scope
public int scope()
the scope of all the matrix types, of typeVkScopeNV.
-
sType
public VkCooperativeMatrixPropertiesNV sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkCooperativeMatrixPropertiesNV sType$Default()
Sets theSTRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NVvalue to thesType()field.
-
pNext
public VkCooperativeMatrixPropertiesNV pNext(long value)
Sets the specified value to thepNext()field.
-
MSize
public VkCooperativeMatrixPropertiesNV MSize(int value)
Sets the specified value to theMSize()field.
-
NSize
public VkCooperativeMatrixPropertiesNV NSize(int value)
Sets the specified value to theNSize()field.
-
KSize
public VkCooperativeMatrixPropertiesNV KSize(int value)
Sets the specified value to theKSize()field.
-
AType
public VkCooperativeMatrixPropertiesNV AType(int value)
Sets the specified value to theAType()field.
-
BType
public VkCooperativeMatrixPropertiesNV BType(int value)
Sets the specified value to theBType()field.
-
CType
public VkCooperativeMatrixPropertiesNV CType(int value)
Sets the specified value to theCType()field.
-
DType
public VkCooperativeMatrixPropertiesNV DType(int value)
Sets the specified value to theDType()field.
-
scope
public VkCooperativeMatrixPropertiesNV scope(int value)
Sets the specified value to thescope()field.
-
set
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.
-
set
public VkCooperativeMatrixPropertiesNV set(VkCooperativeMatrixPropertiesNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkCooperativeMatrixPropertiesNV malloc()
Returns a newVkCooperativeMatrixPropertiesNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCooperativeMatrixPropertiesNV calloc()
Returns a newVkCooperativeMatrixPropertiesNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCooperativeMatrixPropertiesNV create()
Returns a newVkCooperativeMatrixPropertiesNVinstance allocated withBufferUtils.
-
create
public static VkCooperativeMatrixPropertiesNV create(long address)
Returns a newVkCooperativeMatrixPropertiesNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkCooperativeMatrixPropertiesNV createSafe(long address)
-
malloc
public static VkCooperativeMatrixPropertiesNV.Buffer malloc(int capacity)
Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCooperativeMatrixPropertiesNV.Buffer calloc(int capacity)
Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCooperativeMatrixPropertiesNV.Buffer create(int capacity)
Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCooperativeMatrixPropertiesNV.Buffer create(long address, int capacity)
Create aVkCooperativeMatrixPropertiesNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkCooperativeMatrixPropertiesNV.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkCooperativeMatrixPropertiesNV mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkCooperativeMatrixPropertiesNV callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCooperativeMatrixPropertiesNV mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkCooperativeMatrixPropertiesNV callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCooperativeMatrixPropertiesNV.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkCooperativeMatrixPropertiesNV.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCooperativeMatrixPropertiesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkCooperativeMatrixPropertiesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkCooperativeMatrixPropertiesNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCooperativeMatrixPropertiesNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkCooperativeMatrixPropertiesNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkCooperativeMatrixPropertiesNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nMSize
public static int nMSize(long struct)
Unsafe version ofMSize().
-
nNSize
public static int nNSize(long struct)
Unsafe version ofNSize().
-
nKSize
public static int nKSize(long struct)
Unsafe version ofKSize().
-
nAType
public static int nAType(long struct)
Unsafe version ofAType().
-
nBType
public static int nBType(long struct)
Unsafe version ofBType().
-
nCType
public static int nCType(long struct)
Unsafe version ofCType().
-
nDType
public static int nDType(long struct)
Unsafe version ofDType().
-
nscope
public static int nscope(long struct)
Unsafe version ofscope().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nMSize
public static void nMSize(long struct, int value)Unsafe version ofMSize.
-
nNSize
public static void nNSize(long struct, int value)Unsafe version ofNSize.
-
nKSize
public static void nKSize(long struct, int value)Unsafe version ofKSize.
-
nAType
public static void nAType(long struct, int value)Unsafe version ofAType.
-
nBType
public static void nBType(long struct, int value)Unsafe version ofBType.
-
nCType
public static void nCType(long struct, int value)Unsafe version ofCType.
-
nDType
public static void nDType(long struct, int value)Unsafe version ofDType.
-
nscope
public static void nscope(long struct, int value)Unsafe version ofscope.
-
-