58 return make_float4(value[0], value[1], value[2], value[3]);
ccl_device float byte_to_float(const uchar val)
ccl_device float4 color_srgb_to_linear_v4(const float4 c)
#define CCL_NAMESPACE_END
QuaternionBase< float > Quaternion
VecBase< float, 2 > float2
ColorSceneLinear4f< eAlpha::Premultiplied > ColorGeometry4f
VecBase< float, 3 > float3
ColorSceneLinearByteEncoded4b< eAlpha::Premultiplied > ColorGeometry4b
ColorSceneLinear4f< eAlpha::Premultiplied > ColorGeometry4f
static constexpr TypeDesc TypeRGBA(TypeDesc::FLOAT, TypeDesc::VEC4, TypeDesc::COLOR)
static CyclesT convert(const blender::ColorGeometry4b &value)
static constexpr auto type_desc
static CyclesT convert(const blender::ColorGeometry4f &value)
static constexpr auto type_desc
static CyclesT convert(const blender::float2 &value)
static constexpr auto type_desc
static constexpr auto type_desc
static CyclesT convert(const blender::float3 &value)
static constexpr auto type_desc
static CyclesT convert(const blender::math::Quaternion &value)
static constexpr auto type_desc
static CyclesT convert(const bool &value)
static CyclesT convert(const float &value)
static constexpr auto type_desc
static CyclesT convert(const int8_t &value)
static constexpr auto type_desc
static constexpr auto type_desc
static CyclesT convert(const int &value)