Blender V5.0
blender::bke::attribute_math::float4x4Mixer Class Reference

#include <BKE_attribute_math.hh>

Public Member Functions

 float4x4Mixer (MutableSpan< float4x4 > buffer)
 float4x4Mixer (MutableSpan< float4x4 > buffer, const IndexMask &mask)
void set (int64_t index, const float4x4 &value, float weight=1.0f)
void mix_in (int64_t index, const float4x4 &value, float weight=1.0f)
void finalize ()
void finalize (const IndexMask &mask)

Detailed Description

Definition at line 548 of file BKE_attribute_math.hh.

Constructor & Destructor Documentation

◆ float4x4Mixer() [1/2]

blender::bke::attribute_math::float4x4Mixer::float4x4Mixer ( MutableSpan< float4x4 > buffer)

Definition at line 202 of file attribute_math.cc.

References float4x4Mixer().

Referenced by float4x4Mixer().

◆ float4x4Mixer() [2/2]

blender::bke::attribute_math::float4x4Mixer::float4x4Mixer ( MutableSpan< float4x4 > buffer,
const IndexMask & mask )
Parameters
maskOnly initialize these indices. Other indices in the buffer will be invalid.

Definition at line 207 of file attribute_math.cc.

References size().

Member Function Documentation

◆ finalize() [1/2]

void blender::bke::attribute_math::float4x4Mixer::finalize ( )

Definition at line 237 of file attribute_math.cc.

References finalize().

Referenced by finalize(), and set().

◆ finalize() [2/2]

void blender::bke::attribute_math::float4x4Mixer::finalize ( const IndexMask & mask)

◆ mix_in()

void blender::bke::attribute_math::float4x4Mixer::mix_in ( int64_t index,
const float4x4 & value,
float weight = 1.0f )

◆ set()

void blender::bke::attribute_math::float4x4Mixer::set ( int64_t index,
const float4x4 & value,
float weight = 1.0f )

References finalize(), mask(), and mix_in().


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