|
Blender V5.0
|
#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 386 of file BKE_attribute_math.hh.
|
inline |
| buffer | Span where the interpolated values should be stored. |
Definition at line 394 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 402 of file BKE_attribute_math.hh.
|
inline |
Does not do anything, since the mixing is trivial.
Definition at line 426 of file BKE_attribute_math.hh.
|
inline |
Definition at line 428 of file BKE_attribute_math.hh.
|
inline |
Mix a #value into the element with the given #index.
Definition at line 418 of file BKE_attribute_math.hh.
|
inline |
Set a #value into the element with the given #index.
Definition at line 410 of file BKE_attribute_math.hh.