Skip to content

LiteFX::Rendering::IGraphicsDevice::bindDescriptorSet

Binds the descriptors of the descriptor set to the global descriptor heaps.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] void bindDescriptorSet(
    ICommandBuffer const& commandBuffer,
    IDescriptorSet const& descriptorSet,
    IPipeline const& pipeline) const;

Description

Note that after binding the descriptor set, the descriptors must not be updated anymore, unless they are elements on unbounded descriptor arrays, in which case you have to ensure manually to not update them, as long as they may still be in use!

Parameters

NameDescription
commandBufferThe command buffer to bind the descriptor set on.
descriptorSetThe descriptor set to bind.
pipelineThe pipeline to bind the descriptor set to.