LiteFX::Rendering::IDescriptorSetLayout::allocate¶
Allocates an array of descriptor sets.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] UniquePtr<IDescriptorSet> allocate(
UInt32 descriptors,
Span<DescriptorBinding> bindings) const;
Return Value¶
A generator that produces the descriptor set instances.
Parameters¶
| Name | Description |
|---|---|
| bindings | Optional default bindings for descriptors in each descriptor set. |
| descriptors | A type for an unsigned 32 bit integer. |
See Also¶
allocate(std::initializer_list)