Skip to content

LiteFX::Rendering::Backends::DirectX12CommandBuffer::bind

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

Synopsis

Declared in <litefx/rendering.hpp>

[[dllimport]] virtual void bind(
    Span<descriptor_set_type const*> descriptorSets,
    pipeline_type const& pipeline) const = 0;

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.