Skip to content

LiteFX::Rendering::IDescriptorSet::update

Updates one or more sampler descriptors within the current descriptor set.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] void update(
    UInt32 binding,
    ISampler const& sampler,
    UInt32 descriptor = 0) const;

Parameters

NameDescription
bindingThe sampler binding point.
samplerThe sampler to write to the descriptor set.
descriptorThe index of the descriptor in the descriptor array to bind the sampler to.