Skip to content

LiteFX::Rendering::ICommandBuffer::bind

Binds the provided descriptor to the last pipeline that was used by the command buffer.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] void bind(IDescriptorSet const& descriptorSet) const;

Exceptions

NameThrown on
RuntimeExceptionThrown, if no pipeline has been used before attempting to bind the descriptor set.

Parameters

NameDescription
descriptorSetThe descriptor set to bind.

See Also

use