Blender  V3.3
Public Member Functions | List of all members
blender::attribute_math::ColorGeometry4bMixer Class Reference

#include <BKE_attribute_math.hh>

Public Member Functions

 ColorGeometry4bMixer (MutableSpan< ColorGeometry4b > buffer, ColorGeometry4b default_color=ColorGeometry4b(0, 0, 0, 255))
 
void mix_in (int64_t index, const ColorGeometry4b &color, float weight=1.0f)
 
void finalize ()
 

Detailed Description

Definition at line 321 of file BKE_attribute_math.hh.

Constructor & Destructor Documentation

◆ ColorGeometry4bMixer()

blender::attribute_math::ColorGeometry4bMixer::ColorGeometry4bMixer ( MutableSpan< ColorGeometry4b buffer,
ColorGeometry4b  default_color = ColorGeometry4b(0, 0, 0, 255) 
)

Definition at line 47 of file attribute_math.cc.

Member Function Documentation

◆ finalize()

void blender::attribute_math::ColorGeometry4bMixer::finalize ( )

◆ mix_in()

void blender::attribute_math::ColorGeometry4bMixer::mix_in ( int64_t  index,
const ColorGeometry4b color,
float  weight = 1.0f 
)

Definition at line 56 of file attribute_math.cc.

References BLI_assert, and color.


The documentation for this class was generated from the following files: