LiteFX::Rendering::Backends::DirectX12DescriptorSetLayoutBuilder::withDescriptor¶
Adds a descriptor to the descriptor set layout.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withDescriptor(this
TSelf&& self,
descriptor_layout_type&& layout);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| layout | The descriptor layout to add. |