Blender V5.0
blender::bke::attribute_math::DefaultMixerStruct< short2 > Struct Reference

#include <BKE_attribute_math.hh>

Public Types

using type = SimpleMixerWithAccumulationType<short2, float2, int_to_float, float_to_int>

Static Public Member Functions

static float2 int_to_float (const short2 &value)
static short2 float_to_int (const float2 &value)

Detailed Description

Definition at line 605 of file BKE_attribute_math.hh.

Member Typedef Documentation

◆ type

Member Function Documentation

◆ float_to_int()

short2 blender::bke::attribute_math::DefaultMixerStruct< short2 >::float_to_int ( const float2 & value)
inlinestatic

Definition at line 610 of file BKE_attribute_math.hh.

References blender::math::round().

◆ int_to_float()

float2 blender::bke::attribute_math::DefaultMixerStruct< short2 >::int_to_float ( const short2 & value)
inlinestatic

Definition at line 606 of file BKE_attribute_math.hh.


The documentation for this struct was generated from the following file: