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>

[[dllimport, dllexport]] void bind(
    Span<IDescriptorSet const*> descriptorSets,
    IPipeline const& pipeline) const;

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.