LiteFX::Rendering::Backends::DirectX12DescriptorSetLayout::allocate¶
Allocates an array of descriptor sets.
Synopsis¶
Declared in <litefx/rendering.hpp>
[[dllimport, dllexport]] UniquePtr<descriptor_set_type> allocate(
UInt32 unboundedArraySize,
Generator<DescriptorBinding const&> bindings) const;Return Value¶
The instance of the descriptor set.
Parameters¶
| Name | Description |
|---|---|
| unboundedArraySize | The number of descriptors to allocate in an unbounded descriptor array. Ignored, if the descriptor set does not contain an unbounded array. |
| bindings | A generator that generates the optional default bindings for descriptors in each descriptor set. |