Blender V4.3
type_conversions.cc File Reference

Go to the source code of this file.

Classes

class  blender::bke::GVArray_For_ConvertedGVArray
 
class  blender::bke::GVMutableArray_For_ConvertedGVMutableArray
 

Namespaces

namespace  blender
 
namespace  blender::bke
 

Functions

template<typename From , typename To , To(*)(const From &) ConversionF>
static void blender::bke::add_implicit_conversion (DataTypeConversions &conversions)
 
static float2 blender::bke::float_to_float2 (const float &a)
 
static float3 blender::bke::float_to_float3 (const float &a)
 
static int32_t blender::bke::float_to_int (const float &a)
 
static int2 blender::bke::float_to_int2 (const float &a)
 
static bool blender::bke::float_to_bool (const float &a)
 
static int8_t blender::bke::float_to_int8 (const float &a)
 
static ColorGeometry4f blender::bke::float_to_color (const float &a)
 
static ColorGeometry4b blender::bke::float_to_byte_color (const float &a)
 
static math::Quaternion blender::bke::float_to_quaternion (const float &a)
 
static float3 blender::bke::float2_to_float3 (const float2 &a)
 
static float blender::bke::float2_to_float (const float2 &a)
 
static int blender::bke::float2_to_int (const float2 &a)
 
static int2 blender::bke::float2_to_int2 (const float2 &a)
 
static bool blender::bke::float2_to_bool (const float2 &a)
 
static int8_t blender::bke::float2_to_int8 (const float2 &a)
 
static ColorGeometry4f blender::bke::float2_to_color (const float2 &a)
 
static ColorGeometry4b blender::bke::float2_to_byte_color (const float2 &a)
 
static bool blender::bke::float3_to_bool (const float3 &a)
 
static int8_t blender::bke::float3_to_int8 (const float3 &a)
 
static float blender::bke::float3_to_float (const float3 &a)
 
static int blender::bke::float3_to_int (const float3 &a)
 
static int2 blender::bke::float3_to_int2 (const float3 &a)
 
static float2 blender::bke::float3_to_float2 (const float3 &a)
 
static ColorGeometry4f blender::bke::float3_to_color (const float3 &a)
 
static ColorGeometry4b blender::bke::float3_to_byte_color (const float3 &a)
 
static bool blender::bke::int_to_bool (const int32_t &a)
 
static int8_t blender::bke::int_to_int8 (const int32_t &a)
 
static int2 blender::bke::int_to_int2 (const int32_t &a)
 
static float blender::bke::int_to_float (const int32_t &a)
 
static float2 blender::bke::int_to_float2 (const int32_t &a)
 
static float3 blender::bke::int_to_float3 (const int32_t &a)
 
static ColorGeometry4f blender::bke::int_to_color (const int32_t &a)
 
static ColorGeometry4b blender::bke::int_to_byte_color (const int32_t &a)
 
static bool blender::bke::int2_to_bool (const int2 &a)
 
static float2 blender::bke::int2_to_float2 (const int2 &a)
 
static int blender::bke::int2_to_int (const int2 &a)
 
static int8_t blender::bke::int2_to_int8 (const int2 &a)
 
static float blender::bke::int2_to_float (const int2 &a)
 
static float3 blender::bke::int2_to_float3 (const int2 &a)
 
static ColorGeometry4f blender::bke::int2_to_color (const int2 &a)
 
static ColorGeometry4b blender::bke::int2_to_byte_color (const int2 &a)
 
static bool blender::bke::int8_to_bool (const int8_t &a)
 
static int blender::bke::int8_to_int (const int8_t &a)
 
static int2 blender::bke::int8_to_int2 (const int8_t &a)
 
static float blender::bke::int8_to_float (const int8_t &a)
 
static float2 blender::bke::int8_to_float2 (const int8_t &a)
 
static float3 blender::bke::int8_to_float3 (const int8_t &a)
 
static math::Quaternion blender::bke::float3_to_quaternion (const float3 &a)
 
static ColorGeometry4f blender::bke::int8_to_color (const int8_t &a)
 
static ColorGeometry4b blender::bke::int8_to_byte_color (const int8_t &a)
 
static float blender::bke::bool_to_float (const bool &a)
 
static int8_t blender::bke::bool_to_int8 (const bool &a)
 
static int32_t blender::bke::bool_to_int (const bool &a)
 
static int2 blender::bke::bool_to_int2 (const bool &a)
 
static float2 blender::bke::bool_to_float2 (const bool &a)
 
static float3 blender::bke::bool_to_float3 (const bool &a)
 
static ColorGeometry4f blender::bke::bool_to_color (const bool &a)
 
static ColorGeometry4b blender::bke::bool_to_byte_color (const bool &a)
 
static bool blender::bke::color_to_bool (const ColorGeometry4f &a)
 
static float blender::bke::color_to_float (const ColorGeometry4f &a)
 
static int32_t blender::bke::color_to_int (const ColorGeometry4f &a)
 
static int2 blender::bke::color_to_int2 (const ColorGeometry4f &a)
 
static int8_t blender::bke::color_to_int8 (const ColorGeometry4f &a)
 
static float2 blender::bke::color_to_float2 (const ColorGeometry4f &a)
 
static float3 blender::bke::color_to_float3 (const ColorGeometry4f &a)
 
static ColorGeometry4b blender::bke::color_to_byte_color (const ColorGeometry4f &a)
 
static bool blender::bke::byte_color_to_bool (const ColorGeometry4b &a)
 
static float blender::bke::byte_color_to_float (const ColorGeometry4b &a)
 
static int32_t blender::bke::byte_color_to_int (const ColorGeometry4b &a)
 
static int2 blender::bke::byte_color_to_int2 (const ColorGeometry4b &a)
 
static int8_t blender::bke::byte_color_to_int8 (const ColorGeometry4b &a)
 
static float2 blender::bke::byte_color_to_float2 (const ColorGeometry4b &a)
 
static float3 blender::bke::byte_color_to_float3 (const ColorGeometry4b &a)
 
static ColorGeometry4f blender::bke::byte_color_to_color (const ColorGeometry4b &a)
 
static math::Quaternion blender::bke::float4x4_to_quaternion (const float4x4 &a)
 
static float3 blender::bke::quaternion_to_float3 (const math::Quaternion &a)
 
static float4x4 blender::bke::quaternion_to_float4x4 (const math::Quaternion &a)
 
static DataTypeConversions blender::bke::create_implicit_conversions ()
 
const DataTypeConversionsblender::bke::get_implicit_type_conversions ()
 
static void blender::bke::call_convert_to_uninitialized_fn (const GVArray &from, const mf::MultiFunction &fn, const IndexMask &mask, GMutableSpan to)
 
static void blender::bke::call_convert_to_uninitialized_fn (const GVArray &from, const mf::MultiFunction &fn, GMutableSpan to)