LiteFX::Rendering::Backends::VulkanDescriptorSetLayout::allocate¶
Allocates an array of descriptor sets.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, dllexport]] virtual UniquePtr<VulkanDescriptorSet> allocate(
UInt32 descriptors,
Generator<DescriptorBinding> bindings) const override;
Return Value¶
The instance of the descriptor set.
Parameters¶
| Name | Description |
|---|---|
| descriptors | The number of descriptor sets to allocate. |
| bindings | A generator that generates the optional default bindings for descriptors in each descriptor set. |
See Also¶
allocate(std::initializer_list)