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

#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 ()
 

Detailed Description

Definition at line 308 of file BKE_attribute_math.hh.

Constructor & Destructor Documentation

◆ ColorGeometry4fMixer()

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.

Member Function Documentation

◆ finalize()

void blender::attribute_math::ColorGeometry4fMixer::finalize ( )

◆ mix_in()

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

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