Skip to content

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;

» more...

Adds a descriptor layout to the descriptor set.

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& use(this 
    TSelf&& self,
    UniquePtr<descriptor_layout_type>&& layout);

» more...

Parameters

NameDescription
layoutThe layout of the descriptor.

See Also

DescriptorLayout