public class VkDescriptorSetVariableDescriptorCountLayoutSupportEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the create info includes a variable-sized descriptor, then supported is determined assuming the requested size of the variable-sized descriptor, and maxVariableDescriptorCount is set to the maximum size of that descriptor that can be successfully created (which is greater than or equal to the requested size passed in). If the create info does not include a variable-sized descriptor or if the VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingVariableDescriptorCount feature is not enabled, then maxVariableDescriptorCount is set to zero. For the purposes of this command, a variable-sized descriptor binding with a descriptorCount of zero is treated as if the descriptorCount is one, and thus the binding is not ignored and the maximum descriptor count will be returned. If the layout is not supported, then the value written to maxVariableDescriptorCount is undefined.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.maxVariableDescriptorCount – indicates the maximum number of descriptors supported in the highest numbered binding of the layout, if that binding is variable-sized. If the highest numbered binding of the layout has a descriptor type of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT then maxVariableDescriptorCount indicates the maximum byte size supported for the binding, if that binding is variable-sized.
struct VkDescriptorSetVariableDescriptorCountLayoutSupportEXT {
VkStructureType sType;
void * pNext;
uint32_t maxVariableDescriptorCount;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer
An array of
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXVARIABLEDESCRIPTORCOUNT
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 |
|---|
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(java.nio.ByteBuffer container)
Creates a
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
calloc()
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated with memCalloc. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer |
calloc(int capacity)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated with memCalloc. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
callocStack()
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer |
callocStack(int capacity)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
create()
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated with BufferUtils. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer |
create(int capacity)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated with BufferUtils. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
create(long address)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance for the specified memory address. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer |
create(long address,
int capacity)
Create a
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance at the specified memory. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
createSafe(long address)
|
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
malloc()
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated with memAlloc. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer |
malloc(int capacity)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated with memAlloc. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
mallocStack()
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated on the thread-local MemoryStack. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated on the specified MemoryStack. |
static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated on the specified MemoryStack. |
int |
maxVariableDescriptorCount()
Returns the value of the
maxVariableDescriptorCount field. |
static int |
nmaxVariableDescriptorCount(long struct)
Unsafe version of
maxVariableDescriptorCount(). |
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. |
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
set(VkDescriptorSetVariableDescriptorCountLayoutSupportEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT |
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 MAXVARIABLEDESCRIPTORCOUNT
public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(java.nio.ByteBuffer container)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT 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 maxVariableDescriptorCount()
maxVariableDescriptorCount field.public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT sType(int value)
sType field.public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT pNext(long value)
pNext field.public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT set(int sType, long pNext)
public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT set(VkDescriptorSetVariableDescriptorCountLayoutSupportEXT src)
src - the source structpublic static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT malloc()
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT calloc()
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT create()
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated with BufferUtils.public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT create(long address)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance for the specified memory address.@Nullable public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT createSafe(long address)
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer malloc(int capacity)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer calloc(int capacity)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer create(int capacity)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer create(long address, int capacity)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer createSafe(long address, int capacity)
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT mallocStack()
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated on the thread-local MemoryStack.public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT callocStack()
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer mallocStack(int capacity)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer callocStack(int capacity)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.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 nmaxVariableDescriptorCount(long struct)
maxVariableDescriptorCount().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.