LiteFX::Rendering::DescriptorSetLayout::allocate¶
Allocates an array of descriptor sets.
Synopsis¶
Declared in <litefx/rendering.hpp>
virtual UniquePtr<descriptor_set_type> allocate(
UInt32 descriptors,
Generator<DescriptorBinding> bindings) const = 0;
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)