LiteFX::Rendering::PipelineLayoutBuilder::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 set to the pipeline layout.
template<typename TSelf>
constexpr TSelf&& use(this
TSelf&& self,
SharedPtr<descriptor_set_layout_type>&& layout);
Adds a push constants range to the pipeline layout.
template<typename TSelf>
constexpr TSelf&& use(this
TSelf&& self,
UniquePtr<push_constants_layout_type>&& layout);
Parameters¶
| Name | Description |
|---|---|
| layout | The layout of the descriptor set. |
See Also¶
DescriptorSetLayout
PushConstantsLayout