LiteFX::Rendering::IDescriptorSetLayout::allocate¶
Allocates an array of descriptor sets.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] UniquePtr<IDescriptorSet> allocate(
UInt32 descriptors,
Generator<DescriptorBinding> bindings) const;
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)