vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits

Synopsis

Documentation

newtype DescriptorPoolCreateFlagBits Source #

VkDescriptorPoolCreateFlagBits - Bitmask specifying certain supported operations on a descriptor pool

See Also

VK_VERSION_1_0, DescriptorPoolCreateFlags

Bundled Patterns

pattern DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT :: DescriptorPoolCreateFlagBits

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.

pattern DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_POOLS_BIT_NV :: DescriptorPoolCreateFlagBits

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::descriptorCount for any descriptor type as specified by DescriptorPoolCreateInfo::poolSizeCount and DescriptorPoolCreateInfo::pPoolSizes, as available resources allow. The implementation may use the descriptorCount for each descriptor type to allocate the initial pool, but the application is allowed to set the poolSizeCount to zero, or any of the descriptorCount values in the pPoolSizes array to zero.

pattern DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_SETS_BIT_NV :: DescriptorPoolCreateFlagBits

DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_SETS_BIT_NV specifies that the implementation should allow the application to allocate more than DescriptorPoolCreateInfo::maxSets descriptor set objects from the descriptor pool as available resources allow. The implementation may use the maxSets value to allocate the initial available sets, but using zero is permitted.

pattern DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT :: DescriptorPoolCreateFlagBits

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.

pattern DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT :: DescriptorPoolCreateFlagBits

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.

Instances

Instances details
Storable DescriptorPoolCreateFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits

Bits DescriptorPoolCreateFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits

Methods

(.&.) :: DescriptorPoolCreateFlagBits -> DescriptorPoolCreateFlagBits -> DescriptorPoolCreateFlagBits #

(.|.) :: DescriptorPoolCreateFlagBits -> DescriptorPoolCreateFlagBits -> DescriptorPoolCreateFlagBits #

xor :: DescriptorPoolCreateFlagBits -> DescriptorPoolCreateFlagBits -> DescriptorPoolCreateFlagBits #

complement :: DescriptorPoolCreateFlagBits -> DescriptorPoolCreateFlagBits #

shift :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

rotate :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

zeroBits :: DescriptorPoolCreateFlagBits #

bit :: Int -> DescriptorPoolCreateFlagBits #

setBit :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

clearBit :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

complementBit :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

testBit :: DescriptorPoolCreateFlagBits -> Int -> Bool #

bitSizeMaybe :: DescriptorPoolCreateFlagBits -> Maybe Int #

bitSize :: DescriptorPoolCreateFlagBits -> Int #

isSigned :: DescriptorPoolCreateFlagBits -> Bool #

shiftL :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

unsafeShiftL :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

shiftR :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

unsafeShiftR :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

rotateL :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

rotateR :: DescriptorPoolCreateFlagBits -> Int -> DescriptorPoolCreateFlagBits #

popCount :: DescriptorPoolCreateFlagBits -> Int #

FiniteBits DescriptorPoolCreateFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits

Read DescriptorPoolCreateFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits

Show DescriptorPoolCreateFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits

Eq DescriptorPoolCreateFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits

Ord DescriptorPoolCreateFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits

Zero DescriptorPoolCreateFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits