|
Blender V5.0
|
#include <BKE_attribute_math.hh>
Public Member Functions | |
| ColorGeometry4bMixer (MutableSpan< ColorGeometry4b > buffer, ColorGeometry4b default_color=ColorGeometry4b(0, 0, 0, 255)) | |
| ColorGeometry4bMixer (MutableSpan< ColorGeometry4b > buffer, const IndexMask &mask, ColorGeometry4b default_color=ColorGeometry4b(0, 0, 0, 255)) | |
| void | set (int64_t index, const ColorGeometry4b &color, float weight=1.0f) |
| void | mix_in (int64_t index, const ColorGeometry4b &color, float weight=1.0f) |
| void | finalize () |
| void | finalize (const IndexMask &mask) |
Definition at line 526 of file BKE_attribute_math.hh.
| blender::bke::attribute_math::ColorGeometry4bMixer::ColorGeometry4bMixer | ( | MutableSpan< ColorGeometry4b > | buffer, |
| ColorGeometry4b | default_color = ColorGeometry4b(0, 0, 0, 255) ) |
Definition at line 139 of file attribute_math.cc.
References ColorGeometry4bMixer().
Referenced by ColorGeometry4bMixer().
| blender::bke::attribute_math::ColorGeometry4bMixer::ColorGeometry4bMixer | ( | MutableSpan< ColorGeometry4b > | buffer, |
| const IndexMask & | mask, | ||
| ColorGeometry4b | default_color = ColorGeometry4b(0, 0, 0, 255) ) |
| void blender::bke::attribute_math::ColorGeometry4bMixer::finalize | ( | ) |
Definition at line 178 of file attribute_math.cc.
References finalize().
Referenced by finalize(), and set().
| void blender::bke::attribute_math::ColorGeometry4bMixer::finalize | ( | const IndexMask & | mask | ) |
Definition at line 183 of file attribute_math.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, i, mask(), and blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r.
| void blender::bke::attribute_math::ColorGeometry4bMixer::mix_in | ( | int64_t | index, |
| const ColorGeometry4b & | color, | ||
| float | weight = 1.0f ) |
Definition at line 168 of file attribute_math.cc.
Referenced by set().
| void blender::bke::attribute_math::ColorGeometry4bMixer::set | ( | int64_t | index, |
| const ColorGeometry4b & | color, | ||
| float | weight = 1.0f ) |
References finalize(), mask(), and mix_in().