Blender
V3.3
|
#include <BKE_attribute_math.hh>
Public Member Functions | |
SimpleMixer (MutableSpan< T > buffer, T default_value={}) | |
void | mix_in (const int64_t index, const T &value, const float weight=1.0f) |
void | finalize () |
Definition at line 179 of file BKE_attribute_math.hh.
|
inline |
buffer | Span where the interpolated values should be stored. |
default_value | Output value for an element that has not been affected by a mix_in. |
Definition at line 190 of file BKE_attribute_math.hh.
|
inline |
Has to be called before the buffer provided in the constructor is used.
Definition at line 210 of file BKE_attribute_math.hh.
References blender::MutableSpan< T >::index_range().
|
inline |
Mix a #value into the element with the given #index.
Definition at line 200 of file BKE_attribute_math.hh.
References BLI_assert.