|
Blender V4.3
|
#include <BKE_attribute_math.hh>
Public Member Functions | |
| BooleanPropagationMixer (MutableSpan< bool > buffer) | |
| BooleanPropagationMixer (MutableSpan< bool > buffer, const IndexMask &mask) | |
| void | set (const int64_t index, const bool value, const float weight=1.0f) |
| void | mix_in (const int64_t index, const bool value, const float weight=1.0f) |
| void | finalize () |
| void | finalize (const IndexMask &) |
Mixes together booleans with "or" while fitting the same interface as the other mixers in order to be simpler to use. This mixing method has a few benefits:
Definition at line 359 of file BKE_attribute_math.hh.
|
inline |
| buffer | Span where the interpolated values should be stored. |
Definition at line 367 of file BKE_attribute_math.hh.
|
inline |
| mask | Only initialize these indices. Other indices in the buffer will be invalid. |
Definition at line 375 of file BKE_attribute_math.hh.
|
inline |
Does not do anything, since the mixing is trivial.
Definition at line 399 of file BKE_attribute_math.hh.
|
inline |
Definition at line 401 of file BKE_attribute_math.hh.
|
inline |
Mix a #value into the element with the given #index.
Definition at line 391 of file BKE_attribute_math.hh.
|
inline |
Set a #value into the element with the given #index.
Definition at line 383 of file BKE_attribute_math.hh.