Blender  V2.93
Public Member Functions | List of all members
blender::attribute_math::Color4fMixer Class Reference

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

Detailed Description

Definition at line 201 of file BKE_attribute_math.hh.

Constructor & Destructor Documentation

◆ Color4fMixer()

blender::attribute_math::Color4fMixer::Color4fMixer ( MutableSpan< Color4f buffer,
Color4f  default_color = {0, 0, 0, 1} 
)

Definition at line 21 of file attribute_math.cc.

Member Function Documentation

◆ finalize()

void blender::attribute_math::Color4fMixer::finalize ( )

◆ mix_in()

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

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