public class VkPhysicalDeviceCooperativeMatrixPropertiesNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceCooperativeMatrixPropertiesNV structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.cooperativeMatrixSupportedStages – a bitfield of VkShaderStageFlagBits describing the shader stages that cooperative matrix instructions are supported in. cooperativeMatrixSupportedStages will have the SHADER_STAGE_COMPUTE_BIT bit set if any of the physical device’s queues support QUEUE_COMPUTE_BIT.
struct VkPhysicalDeviceCooperativeMatrixPropertiesNV {
VkStructureType sType;
void * pNext;
VkShaderStageFlags cooperativeMatrixSupportedStages;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer
An array of
VkPhysicalDeviceCooperativeMatrixPropertiesNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COOPERATIVEMATRIXSUPPORTEDSTAGES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceCooperativeMatrixPropertiesNV(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceCooperativeMatrixPropertiesNV |
calloc()
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated with memCalloc. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV |
callocStack()
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
cooperativeMatrixSupportedStages()
Returns the value of the
cooperativeMatrixSupportedStages field. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV |
create()
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated with BufferUtils. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV |
create(long address)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance for the specified memory address. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance at the specified memory. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV |
createSafe(long address)
|
static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceCooperativeMatrixPropertiesNV |
malloc()
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated with memAlloc. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV |
mallocStack()
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceCooperativeMatrixPropertiesNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack. |
static int |
ncooperativeMatrixSupportedStages(long struct)
Unsafe version of
cooperativeMatrixSupportedStages(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
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. |
VkPhysicalDeviceCooperativeMatrixPropertiesNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceCooperativeMatrixPropertiesNV |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceCooperativeMatrixPropertiesNV |
set(VkPhysicalDeviceCooperativeMatrixPropertiesNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceCooperativeMatrixPropertiesNV |
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 COOPERATIVEMATRIXSUPPORTEDSTAGES
public VkPhysicalDeviceCooperativeMatrixPropertiesNV(java.nio.ByteBuffer container)
VkPhysicalDeviceCooperativeMatrixPropertiesNV 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 cooperativeMatrixSupportedStages()
cooperativeMatrixSupportedStages field.public VkPhysicalDeviceCooperativeMatrixPropertiesNV sType(int value)
sType field.public VkPhysicalDeviceCooperativeMatrixPropertiesNV pNext(long value)
pNext field.public VkPhysicalDeviceCooperativeMatrixPropertiesNV set(int sType, long pNext)
public VkPhysicalDeviceCooperativeMatrixPropertiesNV set(VkPhysicalDeviceCooperativeMatrixPropertiesNV src)
src - the source structpublic static VkPhysicalDeviceCooperativeMatrixPropertiesNV malloc()
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceCooperativeMatrixPropertiesNV calloc()
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceCooperativeMatrixPropertiesNV create()
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated with BufferUtils.public static VkPhysicalDeviceCooperativeMatrixPropertiesNV create(long address)
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance for the specified memory address.@Nullable public static VkPhysicalDeviceCooperativeMatrixPropertiesNV createSafe(long address)
public static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer malloc(int capacity)
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer calloc(int capacity)
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer create(int capacity)
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer create(long address, int capacity)
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceCooperativeMatrixPropertiesNV mallocStack()
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceCooperativeMatrixPropertiesNV callocStack()
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceCooperativeMatrixPropertiesNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceCooperativeMatrixPropertiesNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCooperativeMatrixPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer mallocStack(int capacity)
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer callocStack(int capacity)
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceCooperativeMatrixPropertiesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCooperativeMatrixPropertiesNV.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 ncooperativeMatrixSupportedStages(long struct)
cooperativeMatrixSupportedStages().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.