If bindingCount is zero or if this structure is not included in the pNext chain, the VkDescriptorBindingFlags for each descriptor set layout binding is considered to be zero. Otherwise, the descriptor set layout binding at VkDescriptorSetLayoutCreateInfo::pBindings[i] uses the flags in pBindingFlags[i].
bindingCount is not zero, bindingCount must equal VkDescriptorSetLayoutCreateInfo::bindingCountVkDescriptorSetLayoutCreateInfo::flags includes DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, then all elements of pBindingFlags must not include DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT, DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT, or DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BITpBindingFlags includes DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT, then all other elements of VkDescriptorSetLayoutCreateInfo::pBindings must have a smaller value of bindingVkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingUniformBufferUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_UNIFORM_BUFFER must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITVkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingSampledImageUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_SAMPLER, DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, or DESCRIPTOR_TYPE_SAMPLED_IMAGE must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITVkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingStorageImageUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_STORAGE_IMAGE must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITVkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingStorageBufferUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_STORAGE_BUFFER must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITVkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingUniformTexelBufferUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITVkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingStorageTexelBufferUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITVkPhysicalDeviceInlineUniformBlockFeatures::descriptorBindingInlineUniformBlockUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITVkPhysicalDeviceAccelerationStructureFeaturesKHR::descriptorBindingAccelerationStructureUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR or DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITDESCRIPTOR_TYPE_INPUT_ATTACHMENT, DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITVkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingUpdateUnusedWhilePending is not enabled, all elements of pBindingFlags must not include DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BITVkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingPartiallyBound is not enabled, all elements of pBindingFlags must not include DESCRIPTOR_BINDING_PARTIALLY_BOUND_BITVkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingVariableDescriptorCount is not enabled, all elements of pBindingFlags must not include DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BITpBindingFlags includes DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT, that element’s descriptorType must not be DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICsType must be STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFObindingCount is not 0, pBindingFlags must be a valid pointer to an array of bindingCount valid combinations of VkDescriptorBindingFlagBits values
struct VkDescriptorSetLayoutBindingFlagsCreateInfo {
VkStructureType sType;
void const * pNext;
uint32_t bindingCount;
VkDescriptorBindingFlags const * pBindingFlags;
}
| 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 | BINDINGCOUNT
The struct member offsets. |
| public static final int | PBINDINGFLAGS
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 | VkDescriptorSetLayoutBindingFlagsCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkDescriptorSetLayoutBindingFlagsCreateInfo | |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo | |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkDescriptorSetLayoutBindingFlagsCreateInfo | 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 VkDescriptorSetLayoutBindingFlagsCreateInfo | create()
Returns a new |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo | create(long address)
Returns a new |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo | |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. | |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo | |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | nbindingCount(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 | pBindingFlags()
a pointer to an array of |
| public VkDescriptorSetLayoutBindingFlagsCreateInfo | pBindingFlags(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkDescriptorSetLayoutBindingFlagsCreateInfo | |
| public VkDescriptorSetLayoutBindingFlagsCreateInfo | |
| public VkDescriptorSetLayoutBindingFlagsCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDescriptorSetLayoutBindingFlagsCreateInfo | |
| public VkDescriptorSetLayoutBindingFlagsCreateInfo | sType$Default()
Sets the |
| 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. | |
| PBINDINGFLAGS | back to summary |
|---|---|
| public static final int PBINDINGFLAGS 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. | |
| VkDescriptorSetLayoutBindingFlagsCreateInfo | back to summary |
|---|---|
| protected VkDescriptorSetLayoutBindingFlagsCreateInfo(long address, ByteBuffer container) | |
| VkDescriptorSetLayoutBindingFlagsCreateInfo | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bindingCount | back to summary |
|---|---|
| public int bindingCount() zero or the number of elements in
| |
| bindingCount | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo bindingCount(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkDescriptorSetLayoutBindingFlagsCreateInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. Like
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorSetLayoutBindingFlagsCreateInfo. Returns a new
| |
| 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 | |
| npBindingFlags | back to summary |
|---|---|
| public static IntBuffer npBindingFlags(long struct) Unsafe version of
| |
| npBindingFlags | back to summary |
|---|---|
| public static void npBindingFlags(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 | |
| pBindingFlags | back to summary |
|---|---|
| public IntBuffer pBindingFlags() a pointer to an array of
| |
| pBindingFlags | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo pBindingFlags(IntBuffer value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo set(int sType, long pNext, int bindingCount, IntBuffer pBindingFlags) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo set(VkDescriptorSetLayoutBindingFlagsCreateInfo 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 VkDescriptorSetLayoutBindingFlagsCreateInfo sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo sType$Default() Sets the | |
VkDescriptorSetLayoutBindingFlagsCreateInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDescriptorSetLayoutBindingFlagsCreateInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDescriptorSetLayoutBindingFlagsCreateInfo 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()
| |
| bindingCount | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDescriptorSetLayoutBindingFlagsCreateInfo getElementFactory() Implements abstract org.
| |
| pBindingFlags | back to summary |
|---|---|
public IntBuffer pBindingFlags()
| |
| pBindingFlags | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDescriptorSetLayoutBindingFlagsCreateInfo. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDescriptorSetLayoutBindingFlagsCreateInfo. Sets the | |