VkDescriptorSetLayoutBinding::binding members of the elements of the pBindings array must each have different valuesflags contains DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, then all elements of pBindings must not have a descriptorType of DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICflags contains DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, then all elements of pBindings must not have a descriptorType of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCKflags contains DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, then the total number of elements of all bindings must be less than or equal to VkPhysicalDevicePushDescriptorPropertiesKHR::maxPushDescriptorsflags contains DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, flags must not contain DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_EXTflags contains DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, pBindings must not have a descriptorType of DESCRIPTOR_TYPE_MUTABLE_EXTDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT bit set, flags must include DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BITDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT bit set, then all bindings must not have descriptorType of DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICflags contains DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT, flags must not contain DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_EXTpBindings[i] has a descriptorType of DESCRIPTOR_TYPE_MUTABLE_EXT, then a VkMutableDescriptorTypeCreateInfoEXT must be present in the pNext chain, and mutableDescriptorTypeListCount must be greater than idescriptorType value of DESCRIPTOR_TYPE_MUTABLE_EXT, then pImmutableSamplers must be NULLVkPhysicalDeviceMutableDescriptorTypeFeaturesEXT::mutableDescriptorType is not enabled, pBindings must not contain a descriptorType of DESCRIPTOR_TYPE_MUTABLE_EXTflags contains DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_EXT, VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT::mutableDescriptorType must be enabledflags contains DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, then all elements of pBindings must not have a descriptorType of DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICflags contains DESCRIPTOR_SET_LAYOUT_CREATE_EMBEDDED_IMMUTABLE_SAMPLERS_BIT_EXT, flags must also contain DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXTflags contains DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, then flags must not contain DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BITflags contains DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, then flags must not contain DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVEsType must be STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFOpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkDescriptorSetLayoutBindingFlagsCreateInfo or VkMutableDescriptorTypeCreateInfoEXTsType value of each struct in the pNext chain must be uniqueflags must be a valid combination of VkDescriptorSetLayoutCreateFlagBits valuesbindingCount is not 0, pBindings must be a valid pointer to an array of bindingCount valid VkDescriptorSetLayoutBinding structuresVkDescriptorSetLayoutBinding, CreateDescriptorSetLayout, GetDescriptorSetLayoutSupport, GetDescriptorSetLayoutSupportKHR
struct VkDescriptorSetLayoutCreateInfo {
VkStructureType sType;
void const * pNext;
VkDescriptorSetLayoutCreateFlags flags;
uint32_t bindingCount;
VkDescriptorSetLayoutBinding const * pBindings;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDescriptorSetLayoutCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BINDINGCOUNT
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PBINDINGS
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 | VkDescriptorSetLayoutCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static VkDescriptorSetLayoutCreateInfo | |
| public static VkDescriptorSetLayoutCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorSetLayoutCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorSetLayoutCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDescriptorSetLayoutCreateInfo | |
| public static VkDescriptorSetLayoutCreateInfo | |
| public static VkDescriptorSetLayoutCreateInfo. | |
| public static VkDescriptorSetLayoutCreateInfo. | |
| protected VkDescriptorSetLayoutCreateInfo | 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 VkDescriptorSetLayoutCreateInfo | |
| public static VkDescriptorSetLayoutCreateInfo | create(long address)
Returns a new |
| public static VkDescriptorSetLayoutCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorSetLayoutCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDescriptorSetLayoutCreateInfo | |
| public static VkDescriptorSetLayoutCreateInfo. | |
| public int | flags()
a bitmask of |
| public VkDescriptorSetLayoutCreateInfo | |
| public static VkDescriptorSetLayoutCreateInfo | |
| public static VkDescriptorSetLayoutCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorSetLayoutCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorSetLayoutCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDescriptorSetLayoutCreateInfo | |
| public static VkDescriptorSetLayoutCreateInfo | |
| public static VkDescriptorSetLayoutCreateInfo. | |
| public static VkDescriptorSetLayoutCreateInfo. | |
| public static int | |
| public static void | nbindingCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static VkDescriptorSetLayoutBinding. | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public VkDescriptorSetLayoutBinding. | |
| public VkDescriptorSetLayoutCreateInfo | pBindings(VkDescriptorSetLayoutBinding.
Sets the address of the specified |
| public long | |
| public VkDescriptorSetLayoutCreateInfo | |
| public VkDescriptorSetLayoutCreateInfo | pNext(VkDescriptorSetLayoutBindingFlagsCreateInfo value)
Prepends the specified |
| public VkDescriptorSetLayoutCreateInfo | pNext(VkDescriptorSetLayoutBindingFlagsCreateInfoEXT value)
Prepends the specified |
| public VkDescriptorSetLayoutCreateInfo | pNext(VkMutableDescriptorTypeCreateInfoEXT value)
Prepends the specified |
| public VkDescriptorSetLayoutCreateInfo | pNext(VkMutableDescriptorTypeCreateInfoVALVE value)
Prepends the specified |
| public VkDescriptorSetLayoutCreateInfo | set(int sType, long pNext, int flags, VkDescriptorSetLayoutBinding.
Initializes this struct with the specified values. |
| public VkDescriptorSetLayoutCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDescriptorSetLayoutCreateInfo | |
| public VkDescriptorSetLayoutCreateInfo | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BINDINGCOUNT | back to summary |
|---|---|
| public static final int BINDINGCOUNT The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| PBINDINGS | back to summary |
|---|---|
| public static final int PBINDINGS 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. | |
| VkDescriptorSetLayoutCreateInfo | back to summary |
|---|---|
| protected VkDescriptorSetLayoutCreateInfo(long address, ByteBuffer container) | |
| VkDescriptorSetLayoutCreateInfo | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bindingCount | back to summary |
|---|---|
| public int bindingCount() the number of elements in
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkDescriptorSetLayoutCreateInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Like
| |
| flags | back to summary |
|---|---|
| public int flags() a bitmask of
| |
| flags | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorSetLayoutCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbindingCount | back to summary |
|---|---|
| public static int nbindingCount(long struct) Unsafe version of | |
| nbindingCount | back to summary |
|---|---|
| public static void nbindingCount(long struct, int value) Sets the specified value to the | |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| npBindings | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBinding. Unsafe version of
| |
| npBindings | back to summary |
|---|---|
| public static void npBindings(long struct, VkDescriptorSetLayoutBinding. 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 | |
| pBindings | back to summary |
|---|---|
| public VkDescriptorSetLayoutBinding. a pointer to an array of
| |
| pBindings | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo pBindings(VkDescriptorSetLayoutBinding. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo pNext(long value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo pNext(VkDescriptorSetLayoutBindingFlagsCreateInfo value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo pNext(VkDescriptorSetLayoutBindingFlagsCreateInfoEXT value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo pNext(VkMutableDescriptorTypeCreateInfoEXT value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo pNext(VkMutableDescriptorTypeCreateInfoVALVE value) Prepends the specified | |
| set | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo set(int sType, long pNext, int flags, VkDescriptorSetLayoutBinding. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo set(VkDescriptorSetLayoutCreateInfo 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 VkDescriptorSetLayoutCreateInfo sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkDescriptorSetLayoutCreateInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDescriptorSetLayoutCreateInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDescriptorSetLayoutCreateInfo 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) | |
| bindingCount | back to summary |
|---|---|
public int bindingCount()
| |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDescriptorSetLayoutCreateInfo getElementFactory() Implements abstract org.
| |
| pBindings | back to summary |
|---|---|
public VkDescriptorSetLayoutBinding.
| |
| pBindings | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo. Prepends the specified | |
| self | back to summary |
|---|---|
| protected VkDescriptorSetLayoutCreateInfo. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDescriptorSetLayoutCreateInfo. Sets the | |