LiteFX::Rendering::DescriptorSetLayoutBuilder::use¶
use overloads
Synopses¶
Declared in <litefx/containers.hpp>
Called by child builders to pass a constructed object back to the parent builder.
template<typename TInstance>
void use(pointer_type&&) noexcept = delete;
Adds a descriptor layout to the descriptor set.
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& use(this
TSelf&& self,
UniquePtr<descriptor_layout_type>&& layout);
Parameters¶
| Name | Description |
|---|---|
| layout | The layout of the descriptor. |
See Also¶
DescriptorLayout