Blender
V3.3
|
#include <BKE_attribute_math.hh>
Public Member Functions | |
ColorGeometry4fMixer (MutableSpan< ColorGeometry4f > buffer, ColorGeometry4f default_color=ColorGeometry4f(0.0f, 0.0f, 0.0f, 1.0f)) | |
void | mix_in (int64_t index, const ColorGeometry4f &color, float weight=1.0f) |
void | finalize () |
Definition at line 308 of file BKE_attribute_math.hh.
blender::attribute_math::ColorGeometry4fMixer::ColorGeometry4fMixer | ( | MutableSpan< ColorGeometry4f > | buffer, |
ColorGeometry4f | default_color = ColorGeometry4f(0.0f, 0.0f, 0.0f, 1.0f) |
||
) |
Definition at line 7 of file attribute_math.cc.
void blender::attribute_math::ColorGeometry4fMixer::finalize | ( | ) |
void blender::attribute_math::ColorGeometry4fMixer::mix_in | ( | int64_t | index, |
const ColorGeometry4f & | color, | ||
float | weight = 1.0f |
||
) |
Definition at line 16 of file attribute_math.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, BLI_assert, color, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, and blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r.