|
Blender V5.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 611 of file BKE_attribute_math.hh.
|
inline |
| buffer | Span where the interpolated values should be stored. |
Definition at line 619 of file BKE_attribute_math.hh.
References BooleanPropagationMixer().
Referenced by BooleanPropagationMixer().
|
inline |
| mask | Only initialize these indices. Other indices in the buffer will be invalid. |
Definition at line 627 of file BKE_attribute_math.hh.
References blender::index_mask::masked_fill().
|
inline |
Does not do anything, since the mixing is trivial.
Definition at line 651 of file BKE_attribute_math.hh.
|
inline |
Definition at line 653 of file BKE_attribute_math.hh.
|
inline |
Mix a #value into the element with the given index.
Definition at line 643 of file BKE_attribute_math.hh.
|
inline |
Set a #value into the element with the given index.
Definition at line 635 of file BKE_attribute_math.hh.