If descriptorSetCount is zero or this structure is not included in the pNext chain, then the variable lengths are considered to be zero. Otherwise, pDescriptorCounts[i] is the number of descriptors in the variable-sized descriptor binding in the corresponding descriptor set layout. If the variable-sized descriptor binding in the corresponding descriptor set layout has a descriptor type of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK then pDescriptorCounts[i] specifies the binding’s capacity in bytes. If VkDescriptorSetAllocateInfo::pSetLayouts[i] does not include a variable-sized descriptor binding, then pDescriptorCounts[i] is ignored.
descriptorSetCount is not zero, descriptorSetCount must equal VkDescriptorSetAllocateInfo::descriptorSetCountVkDescriptorSetAllocateInfo::pSetLayouts[i] has a variable-sized descriptor binding, then pDescriptorCounts[i] must be less than or equal to the descriptor count specified for that binding when the descriptor set layout was createdsType must be STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFOdescriptorSetCount is not 0, pDescriptorCounts must be a valid pointer to an array of descriptorSetCount uint32_t values
struct VkDescriptorSetVariableDescriptorCountAllocateInfo {
VkStructureType sType;
void const * pNext;
uint32_t descriptorSetCount;
uint32_t const * pDescriptorCounts;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DESCRIPTORSETCOUNT
The struct member offsets. |
| public static final int | PDESCRIPTORCOUNTS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDescriptorSetVariableDescriptorCountAllocateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo | |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkDescriptorSetVariableDescriptorCountAllocateInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo | create()
Returns a new |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo | create(long address)
Returns a new |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo | |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. | |
| public int | |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo | |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | ndescriptorSetCount(long struct, int value)
Sets the specified value to the |
| public static IntBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public IntBuffer | pDescriptorCounts()
a pointer to an array of descriptor counts, with each member specifying the number of descriptors in a variable-sized descriptor binding in the corresponding descriptor set being allocated. |
| public VkDescriptorSetVariableDescriptorCountAllocateInfo | pDescriptorCounts(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkDescriptorSetVariableDescriptorCountAllocateInfo | |
| public VkDescriptorSetVariableDescriptorCountAllocateInfo | |
| public VkDescriptorSetVariableDescriptorCountAllocateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDescriptorSetVariableDescriptorCountAllocateInfo | |
| public VkDescriptorSetVariableDescriptorCountAllocateInfo | sType$Default()
Sets the |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DESCRIPTORSETCOUNT | back to summary |
|---|---|
| public static final int DESCRIPTORSETCOUNT The struct member offsets. | |
| PDESCRIPTORCOUNTS | back to summary |
|---|---|
| public static final int PDESCRIPTORCOUNTS The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkDescriptorSetVariableDescriptorCountAllocateInfo | back to summary |
|---|---|
| protected VkDescriptorSetVariableDescriptorCountAllocateInfo(long address, ByteBuffer container) | |
| VkDescriptorSetVariableDescriptorCountAllocateInfo | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkDescriptorSetVariableDescriptorCountAllocateInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. Like
| |
| descriptorSetCount | back to summary |
|---|---|
| public int descriptorSetCount() zero or the number of elements in
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetVariableDescriptorCountAllocateInfo. Returns a new
| |
| ndescriptorSetCount | back to summary |
|---|---|
| public static int ndescriptorSetCount(long struct) Unsafe version of | |
| ndescriptorSetCount | back to summary |
|---|---|
| public static void ndescriptorSetCount(long struct, int value) Sets the specified value to the | |
| npDescriptorCounts | back to summary |
|---|---|
| public static IntBuffer npDescriptorCounts(long struct) Unsafe version of
| |
| npDescriptorCounts | back to summary |
|---|---|
| public static void npDescriptorCounts(long struct, IntBuffer value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pDescriptorCounts | back to summary |
|---|---|
| public IntBuffer pDescriptorCounts() a pointer to an array of descriptor counts, with each member specifying the number of descriptors in a variable-sized descriptor binding in the corresponding descriptor set being allocated.
| |
| pDescriptorCounts | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo pDescriptorCounts(IntBuffer value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo set(int sType, long pNext, IntBuffer pDescriptorCounts) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo set(VkDescriptorSetVariableDescriptorCountAllocateInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkDescriptorSetVariableDescriptorCountAllocateInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDescriptorSetVariableDescriptorCountAllocateInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDescriptorSetVariableDescriptorCountAllocateInfo ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| descriptorSetCount | back to summary |
|---|---|
public int descriptorSetCount()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkDescriptorSetVariableDescriptorCountAllocateInfo getElementFactory() Implements abstract org.
| |
| pDescriptorCounts | back to summary |
|---|---|
public IntBuffer pDescriptorCounts()
| |
| pDescriptorCounts | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDescriptorSetVariableDescriptorCountAllocateInfo. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDescriptorSetVariableDescriptorCountAllocateInfo. Sets the | |