Blender  V2.93
Namespaces | Functions
type_conversions.cc File Reference
#include "NOD_type_conversions.hh"
#include "FN_multi_function_builder.hh"
#include "BLI_color.hh"
#include "BLI_float2.hh"
#include "BLI_float3.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::nodes
 

Functions

template<typename From , typename To , To(*)(const From &) ConversionF>
static void blender::nodes::add_implicit_conversion (DataTypeConversions &conversions)
 
static float2 blender::nodes::float_to_float2 (const float &a)
 
static float3 blender::nodes::float_to_float3 (const float &a)
 
static int32_t blender::nodes::float_to_int (const float &a)
 
static bool blender::nodes::float_to_bool (const float &a)
 
static Color4f blender::nodes::float_to_color (const float &a)
 
static float3 blender::nodes::float2_to_float3 (const float2 &a)
 
static float blender::nodes::float2_to_float (const float2 &a)
 
static int blender::nodes::float2_to_int (const float2 &a)
 
static bool blender::nodes::float2_to_bool (const float2 &a)
 
static Color4f blender::nodes::float2_to_color (const float2 &a)
 
static bool blender::nodes::float3_to_bool (const float3 &a)
 
static float blender::nodes::float3_to_float (const float3 &a)
 
static int blender::nodes::float3_to_int (const float3 &a)
 
static float2 blender::nodes::float3_to_float2 (const float3 &a)
 
static Color4f blender::nodes::float3_to_color (const float3 &a)
 
static bool blender::nodes::int_to_bool (const int32_t &a)
 
static float blender::nodes::int_to_float (const int32_t &a)
 
static float2 blender::nodes::int_to_float2 (const int32_t &a)
 
static float3 blender::nodes::int_to_float3 (const int32_t &a)
 
static Color4f blender::nodes::int_to_color (const int32_t &a)
 
static float blender::nodes::bool_to_float (const bool &a)
 
static int32_t blender::nodes::bool_to_int (const bool &a)
 
static float2 blender::nodes::bool_to_float2 (const bool &a)
 
static float3 blender::nodes::bool_to_float3 (const bool &a)
 
static Color4f blender::nodes::bool_to_color (const bool &a)
 
static bool blender::nodes::color_to_bool (const Color4f &a)
 
static float blender::nodes::color_to_float (const Color4f &a)
 
static int32_t blender::nodes::color_to_int (const Color4f &a)
 
static float2 blender::nodes::color_to_float2 (const Color4f &a)
 
static float3 blender::nodes::color_to_float3 (const Color4f &a)
 
static DataTypeConversions blender::nodes::create_implicit_conversions ()
 
const DataTypeConversions & blender::nodes::get_implicit_type_conversions ()