public class VkPhysicalDeviceMaintenance3Properties
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceMaintenance3Properties structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIESsType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.maxPerSetDescriptors – a maximum number of descriptors (summed over all descriptor types) in a single descriptor set that is guaranteed to satisfy any implementation-dependent constraints on the size of a descriptor set itself. Applications can query whether a descriptor set that goes beyond this limit is supported using GetDescriptorSetLayoutSupport.maxMemoryAllocationSize – the maximum size of a memory allocation that can be created, even if there is more space available in the heap.
struct VkPhysicalDeviceMaintenance3Properties {
VkStructureType sType;
void * pNext;
uint32_t maxPerSetDescriptors;
VkDeviceSize maxMemoryAllocationSize;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceMaintenance3Properties.Buffer
An array of
VkPhysicalDeviceMaintenance3Properties structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXMEMORYALLOCATIONSIZE
The struct member offsets.
|
static int |
MAXPERSETDESCRIPTORS
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 |
|---|
VkPhysicalDeviceMaintenance3Properties(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceMaintenance3Properties instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceMaintenance3Properties |
calloc()
Returns a new
VkPhysicalDeviceMaintenance3Properties instance allocated with memCalloc. |
static VkPhysicalDeviceMaintenance3Properties.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceMaintenance3Properties |
callocStack()
Returns a new
VkPhysicalDeviceMaintenance3Properties instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMaintenance3Properties.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMaintenance3Properties.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMaintenance3Properties |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMaintenance3Properties instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMaintenance3Properties |
create()
Returns a new
VkPhysicalDeviceMaintenance3Properties instance allocated with BufferUtils. |
static VkPhysicalDeviceMaintenance3Properties.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceMaintenance3Properties |
create(long address)
Returns a new
VkPhysicalDeviceMaintenance3Properties instance for the specified memory address. |
static VkPhysicalDeviceMaintenance3Properties.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceMaintenance3Properties.Buffer instance at the specified memory. |
static VkPhysicalDeviceMaintenance3Properties |
createSafe(long address)
|
static VkPhysicalDeviceMaintenance3Properties.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceMaintenance3Properties |
malloc()
Returns a new
VkPhysicalDeviceMaintenance3Properties instance allocated with memAlloc. |
static VkPhysicalDeviceMaintenance3Properties.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceMaintenance3Properties |
mallocStack()
Returns a new
VkPhysicalDeviceMaintenance3Properties instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceMaintenance3Properties.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceMaintenance3Properties.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceMaintenance3Properties |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMaintenance3Properties instance allocated on the specified MemoryStack. |
long |
maxMemoryAllocationSize()
Returns the value of the
maxMemoryAllocationSize field. |
int |
maxPerSetDescriptors()
Returns the value of the
maxPerSetDescriptors field. |
static long |
nmaxMemoryAllocationSize(long struct)
Unsafe version of
maxMemoryAllocationSize(). |
static int |
nmaxPerSetDescriptors(long struct)
Unsafe version of
maxPerSetDescriptors(). |
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. |
VkPhysicalDeviceMaintenance3Properties |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceMaintenance3Properties |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceMaintenance3Properties |
set(VkPhysicalDeviceMaintenance3Properties src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceMaintenance3Properties |
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 MAXPERSETDESCRIPTORS
public static final int MAXMEMORYALLOCATIONSIZE
public VkPhysicalDeviceMaintenance3Properties(java.nio.ByteBuffer container)
VkPhysicalDeviceMaintenance3Properties 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 maxPerSetDescriptors()
maxPerSetDescriptors field.public long maxMemoryAllocationSize()
maxMemoryAllocationSize field.public VkPhysicalDeviceMaintenance3Properties sType(int value)
sType field.public VkPhysicalDeviceMaintenance3Properties pNext(long value)
pNext field.public VkPhysicalDeviceMaintenance3Properties set(int sType, long pNext)
public VkPhysicalDeviceMaintenance3Properties set(VkPhysicalDeviceMaintenance3Properties src)
src - the source structpublic static VkPhysicalDeviceMaintenance3Properties malloc()
VkPhysicalDeviceMaintenance3Properties instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceMaintenance3Properties calloc()
VkPhysicalDeviceMaintenance3Properties instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceMaintenance3Properties create()
VkPhysicalDeviceMaintenance3Properties instance allocated with BufferUtils.public static VkPhysicalDeviceMaintenance3Properties create(long address)
VkPhysicalDeviceMaintenance3Properties instance for the specified memory address.@Nullable public static VkPhysicalDeviceMaintenance3Properties createSafe(long address)
public static VkPhysicalDeviceMaintenance3Properties.Buffer malloc(int capacity)
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceMaintenance3Properties.Buffer calloc(int capacity)
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceMaintenance3Properties.Buffer create(int capacity)
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceMaintenance3Properties.Buffer create(long address, int capacity)
VkPhysicalDeviceMaintenance3Properties.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceMaintenance3Properties.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceMaintenance3Properties mallocStack()
VkPhysicalDeviceMaintenance3Properties instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceMaintenance3Properties callocStack()
VkPhysicalDeviceMaintenance3Properties instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceMaintenance3Properties mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMaintenance3Properties instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceMaintenance3Properties callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMaintenance3Properties instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceMaintenance3Properties.Buffer mallocStack(int capacity)
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceMaintenance3Properties.Buffer callocStack(int capacity)
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceMaintenance3Properties.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMaintenance3Properties.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceMaintenance3Properties.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMaintenance3Properties.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 nmaxPerSetDescriptors(long struct)
maxPerSetDescriptors().public static long nmaxMemoryAllocationSize(long struct)
maxMemoryAllocationSize().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.