LiteFX::Rendering::Backends::VulkanDescriptorSetLayout::allocate¶
Allocates an array of descriptor sets.
Synopsis¶
Declared in <litefx/rendering.hpp>
[[dllimport, dllexport]] virtual Generator<UniquePtr<descriptor_set_type>> allocate(
UInt32 descriptorSets,
std::initializer_list<std::initializer_list<DescriptorBinding>> bindings = { }) const;
Return Value¶
A generator that produces the descriptor set instances.
Parameters¶
| Name | Description |
|---|---|
| descriptorSets | The number of descriptor sets to allocate. |
| bindings | Optional default bindings for descriptors in each descriptor set. |
See Also¶
allocate(std::initializer_list)