public class VkPhysicalDeviceShaderSMBuiltinsPropertiesNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceShaderSMBuiltinsPropertiesNV 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.shaderSMCount – the number of SMs on the device.shaderWarpsPerSM – the maximum number of simultaneously executing warps on an SM.
struct VkPhysicalDeviceShaderSMBuiltinsPropertiesNV {
VkStructureType sType;
void * pNext;
uint32_t shaderSMCount;
uint32_t shaderWarpsPerSM;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer
An array of
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SHADERSMCOUNT
The struct member offsets.
|
static int |
SHADERWARPSPERSM
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
calloc()
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated with memCalloc. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
callocStack()
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
create()
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated with BufferUtils. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
create(long address)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance for the specified memory address. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance at the specified memory. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
createSafe(long address)
|
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
malloc()
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated with memAlloc. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
mallocStack()
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nshaderSMCount(long struct)
Unsafe version of
shaderSMCount(). |
static int |
nshaderWarpsPerSM(long struct)
Unsafe version of
shaderWarpsPerSM(). |
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. |
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
set(VkPhysicalDeviceShaderSMBuiltinsPropertiesNV src)
Copies the specified struct data to this struct.
|
int |
shaderSMCount()
Returns the value of the
shaderSMCount field. |
int |
shaderWarpsPerSM()
Returns the value of the
shaderWarpsPerSM field. |
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV |
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 SHADERSMCOUNT
public static final int SHADERWARPSPERSM
public VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(java.nio.ByteBuffer container)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV 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 shaderSMCount()
shaderSMCount field.public int shaderWarpsPerSM()
shaderWarpsPerSM field.public VkPhysicalDeviceShaderSMBuiltinsPropertiesNV sType(int value)
sType field.public VkPhysicalDeviceShaderSMBuiltinsPropertiesNV pNext(long value)
pNext field.public VkPhysicalDeviceShaderSMBuiltinsPropertiesNV set(int sType, long pNext)
public VkPhysicalDeviceShaderSMBuiltinsPropertiesNV set(VkPhysicalDeviceShaderSMBuiltinsPropertiesNV src)
src - the source structpublic static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV malloc()
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV calloc()
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV create()
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated with BufferUtils.public static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV create(long address)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance for the specified memory address.@Nullable public static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV createSafe(long address)
public static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer malloc(int capacity)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer calloc(int capacity)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer create(int capacity)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer create(long address, int capacity)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV mallocStack()
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV callocStack()
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer mallocStack(int capacity)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer callocStack(int capacity)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.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 nshaderSMCount(long struct)
shaderSMCount().public static int nshaderWarpsPerSM(long struct)
shaderWarpsPerSM().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.