Skip to content

LiteFX::Rendering::ICommandBuffer::bind

Binds an arbitrary input range of descriptor sets to the provided pipeline.

Synopsis

Declared in <litefx/rendering_api.hpp>

template<typename TSelf>
void bind(this 
    TSelf const& self,
    auto&& descriptorSets,
    TSelf::pipeline_type const& pipeline)
requires std::derived_from<std::remove_cv_t<std::remove_pointer_t<std::iter_value_t<std::ranges::iterator_t<std::remove_cv_t<std::remove_reference_t<decltype(descriptorSets)>>>>>>, IDescriptorSet>;

Description

Note that if an element of descriptorSets is nullptr, it will be ignored.

Parameters

NameDescription
descriptorSetsThe pointers to the descriptor sets to bind.
pipelineThe pipeline to bind the descriptor set to.