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
GetPhysicalDeviceCooperativeMatrixPropertiesNVMember documentation
sType– the type of this structure.pNext–NULLor 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 typeVkComponentTypeNV.BType– the component type of matrix B, of typeVkComponentTypeNV.CType– the component type of matrix C, of typeVkComponentTypeNV.DType– the component type of matrix D, of typeVkComponentTypeNV.scope– the scope of all the matrix types, of typeVkScopeNV.
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 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 Modifier and Type Method Description intAType()Returns the value of theATypefield.VkCooperativeMatrixPropertiesNVAType(int value)Sets the specified value to theATypefield.intBType()Returns the value of theBTypefield.VkCooperativeMatrixPropertiesNVBType(int value)Sets the specified value to theBTypefield.static VkCooperativeMatrixPropertiesNVcalloc()Returns a newVkCooperativeMatrixPropertiesNVinstance allocated withmemCalloc.static VkCooperativeMatrixPropertiesNV.Buffercalloc(int capacity)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated withmemCalloc.static VkCooperativeMatrixPropertiesNVcallocStack()Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkCooperativeMatrixPropertiesNV.BuffercallocStack(int capacity)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkCooperativeMatrixPropertiesNV.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCooperativeMatrixPropertiesNVcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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()Returns the value of theCTypefield.VkCooperativeMatrixPropertiesNVCType(int value)Sets the specified value to theCTypefield.intDType()Returns the value of theDTypefield.VkCooperativeMatrixPropertiesNVDType(int value)Sets the specified value to theDTypefield.intKSize()Returns the value of theKSizefield.VkCooperativeMatrixPropertiesNVKSize(int value)Sets the specified value to theKSizefield.static VkCooperativeMatrixPropertiesNVmalloc()Returns a newVkCooperativeMatrixPropertiesNVinstance allocated withmemAlloc.static VkCooperativeMatrixPropertiesNV.Buffermalloc(int capacity)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated withmemAlloc.static VkCooperativeMatrixPropertiesNVmallocStack()Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the thread-localMemoryStack.static VkCooperativeMatrixPropertiesNV.BuffermallocStack(int capacity)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the thread-localMemoryStack.static VkCooperativeMatrixPropertiesNV.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the specifiedMemoryStack.static VkCooperativeMatrixPropertiesNVmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the specifiedMemoryStack.intMSize()Returns the value of theMSizefield.VkCooperativeMatrixPropertiesNVMSize(int value)Sets the specified value to theMSizefield.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()Returns the value of theNSizefield.VkCooperativeMatrixPropertiesNVNSize(int value)Sets the specified value to theNSizefield.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkCooperativeMatrixPropertiesNVpNext(long value)Sets the specified value to thepNextfield.intscope()Returns the value of thescopefield.VkCooperativeMatrixPropertiesNVscope(int value)Sets the specified value to thescopefield.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()Returns the value of thesTypefield.VkCooperativeMatrixPropertiesNVsType(int value)Sets the specified value to thesTypefield.
-
-
-
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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
MSize
public int MSize()
Returns the value of theMSizefield.
-
NSize
public int NSize()
Returns the value of theNSizefield.
-
KSize
public int KSize()
Returns the value of theKSizefield.
-
AType
public int AType()
Returns the value of theATypefield.
-
BType
public int BType()
Returns the value of theBTypefield.
-
CType
public int CType()
Returns the value of theCTypefield.
-
DType
public int DType()
Returns the value of theDTypefield.
-
scope
public int scope()
Returns the value of thescopefield.
-
sType
public VkCooperativeMatrixPropertiesNV sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkCooperativeMatrixPropertiesNV pNext(long value)
Sets the specified value to thepNextfield.
-
MSize
public VkCooperativeMatrixPropertiesNV MSize(int value)
Sets the specified value to theMSizefield.
-
NSize
public VkCooperativeMatrixPropertiesNV NSize(int value)
Sets the specified value to theNSizefield.
-
KSize
public VkCooperativeMatrixPropertiesNV KSize(int value)
Sets the specified value to theKSizefield.
-
AType
public VkCooperativeMatrixPropertiesNV AType(int value)
Sets the specified value to theATypefield.
-
BType
public VkCooperativeMatrixPropertiesNV BType(int value)
Sets the specified value to theBTypefield.
-
CType
public VkCooperativeMatrixPropertiesNV CType(int value)
Sets the specified value to theCTypefield.
-
DType
public VkCooperativeMatrixPropertiesNV DType(int value)
Sets the specified value to theDTypefield.
-
scope
public VkCooperativeMatrixPropertiesNV scope(int value)
Sets the specified value to thescopefield.
-
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
public static VkCooperativeMatrixPropertiesNV mallocStack()
Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkCooperativeMatrixPropertiesNV callocStack()
Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkCooperativeMatrixPropertiesNV mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkCooperativeMatrixPropertiesNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkCooperativeMatrixPropertiesNV callocStack(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
-
mallocStack
public static VkCooperativeMatrixPropertiesNV.Buffer mallocStack(int capacity)
Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkCooperativeMatrixPropertiesNV.Buffer callocStack(int capacity)
Returns a newVkCooperativeMatrixPropertiesNV.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkCooperativeMatrixPropertiesNV.Buffer mallocStack(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
-
callocStack
public static VkCooperativeMatrixPropertiesNV.Buffer callocStack(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.
-
-