LiteFX::Rendering::GraphicsDevice::bindDescriptorSet¶
Binds the descriptors of the descriptor set to the global descriptor heaps.
Synopsis¶
Declared in <litefx/rendering.hpp>
virtual void bindDescriptorSet(
command_buffer_type const& commandBuffer,
descriptor_set_type const& descriptorSet,
pipeline_type const& pipeline) const = 0;
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¶
| Name | Description |
|---|---|
| commandBuffer | The command buffer to bind the descriptor set on. |
| descriptorSet | The descriptor set to bind. |
| pipeline | The pipeline to bind the descriptor set to. |