LiteFX::Rendering::Backends::DirectX12Device::bindDescriptorSet¶
Binds the descriptors of the descriptor set to the global descriptor heaps.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] virtual void bindDescriptorSet(
DirectX12CommandBuffer const& commandBuffer,
DirectX12DescriptorSet const& descriptorSet,
DirectX12PipelineState const& pipeline) const override;
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. |