Modulevulkan-3.27GHC2021
Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits
- 2 types
- Packagevulkan-3.27
- Exports7
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceDescriptorPoolCreateFlagBits.hs
VkDescriptorPoolCreateFlagBits - Bitmask specifying certain supported operations on a descriptor pool
Description
DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT specifies that descriptor sets can return their individual allocations to the pool, i.e. all of allocateDescriptorSets, freeDescriptorSets, and resetDescriptorPool are allowed. Otherwise, descriptor sets allocated from the pool must not be individually freed back to the pool, i.e. only allocateDescriptorSets and resetDescriptorPool are allowed.
DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT specifies that descriptor sets allocated from this pool can include bindings with the DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT bit set. It is valid to allocate descriptor sets that have bindings that do not set the DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT bit from a pool that has DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT set.
DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT specifies that this descriptor pool and the descriptor sets allocated from it reside entirely in host memory and cannot be bound. Similar to descriptor sets allocated without this flag, applications can copy-from and copy-to descriptors sets allocated from this descriptor pool. Descriptor sets allocated from this pool are partially exempt from the external synchronization requirement in updateDescriptorSetWithTemplateKHR and updateDescriptorSets. Descriptor sets and their descriptors can be updated concurrently in different threads, though the same descriptor must not be updated concurrently by two threads.
DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_SETS_BIT_NV specifies that the implementation should allow the application to allocate more than DescriptorPoolCreateInfo::
maxSetsdescriptor set objects from the descriptor pool as available resources allow. The implementation may use themaxSetsvalue to allocate the initial available sets, but using zero is permitted.DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_POOLS_BIT_NV specifies that the implementation should allow the application to allocate more descriptors from the pool than was specified by the DescriptorPoolSize::
descriptorCountfor any descriptor type as specified by DescriptorPoolCreateInfo::poolSizeCountand DescriptorPoolCreateInfo::pPoolSizes, as available resources allow. The implementation may use thedescriptorCountfor each descriptor type to allocate the initial pool, but the application is allowed to set thepoolSizeCountto zero, or any of thedescriptorCountvalues in thepPoolSizesarray to zero.
See Also
Constructors
Instances8Eq, Ord, Read, Show, Bits, FiniteBits, …
Eq DescriptorPoolCreateFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.DescriptorPoolCreateFlagBitsOrd DescriptorPoolCreateFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.DescriptorPoolCreateFlagBitsRead DescriptorPoolCreateFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.DescriptorPoolCreateFlagBitsShow DescriptorPoolCreateFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.DescriptorPoolCreateFlagBitsBits DescriptorPoolCreateFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.DescriptorPoolCreateFlagBitsFiniteBits DescriptorPoolCreateFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.DescriptorPoolCreateFlagBitsStorable DescriptorPoolCreateFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.DescriptorPoolCreateFlagBitsZero DescriptorPoolCreateFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits