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¶
Descriptors can be updated after binding the descriptor set. However, updates are visible to all command buffers immediately, so you have to ensure manually that descriptors are not updated while they may still be in use by the GPU.
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. |