LiteFX::Rendering::IDescriptorSet::update¶
Updates a series of descriptor bindings.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
template<std::ranges::contiguous_range TBindings>
requires (
std::same_as<std::ranges::range_value_t<TBindings>, DescriptorBinding> &&
!std::same_as<std::remove_cvref_t<TBindings>, Span<const DescriptorBinding>>
)
void update(TBindings&& bindings) const;Description¶
Contiguous ranges (like Array<DescriptorBinding>) are forwarded to the span overload, which avoids type-erased iteration through an Enumerable.
Parameters¶
| Name | Description |
|---|---|
| bindings | The descriptor bindings to update. If DescriptorBinding::binding is not provided, the index of the element is taken. |