|
Blender
V2.93
|
#include <BKE_attribute_math.hh>
Public Member Functions | |
| Color4fMixer (MutableSpan< Color4f > buffer, Color4f default_color={0, 0, 0, 1}) | |
| void | mix_in (const int64_t index, const Color4f &color, const float weight=1.0f) |
| void | finalize () |
Definition at line 201 of file BKE_attribute_math.hh.
| blender::attribute_math::Color4fMixer::Color4fMixer | ( | MutableSpan< Color4f > | buffer, |
| Color4f | default_color = {0, 0, 0, 1} |
||
| ) |
Definition at line 21 of file attribute_math.cc.
| void blender::attribute_math::Color4fMixer::finalize | ( | ) |
Definition at line 40 of file attribute_math.cc.
References blender::Color4f::a, blender::Color4f::b, blender::Color4f::g, and blender::Color4f::r.
| void blender::attribute_math::Color4fMixer::mix_in | ( | const int64_t | index, |
| const Color4f & | color, | ||
| const float | weight = 1.0f |
||
| ) |
Definition at line 29 of file attribute_math.cc.
References blender::Color4f::a, blender::Color4f::b, BLI_assert, blender::Color4f::g, and blender::Color4f::r.