LiteFX::Rendering::Backends::VulkanDescriptorSetLayout::allocate¶
Allocates an array of descriptor sets.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, dllexport]] virtual Generator<UniquePtr<VulkanDescriptorSet>> allocate(
UInt32 descriptorSets,
UInt32 descriptors,
std::mdspan<DescriptorBinding, std::dextents<size_t, 2>> bindings) const override;
Return Value¶
A generator that produces the descriptor set instances.
Parameters¶
| Name | Description |
|---|---|
| descriptorSets | The number of descriptor sets to allocate. |
| descriptors | The number of descriptors to allocate in an unbounded descriptor array. Ignored, if the descriptor set does not contain an unbounded array. |
| bindings | Optional default bindings for descriptors in each descriptor set. |
See Also¶
allocate(std::initializer_list)