23 static constexpr auto type_desc = TypeFloat;
31 static constexpr auto type_desc = TypeFloat;
39 static constexpr auto type_desc = TypeFloat2;
47 static constexpr auto type_desc = TypeVector;
74 static constexpr auto type_desc = TypeFloat;
82 static constexpr auto type_desc = TypeFloat;
90 static constexpr auto type_desc = TypeFloat4;
ccl_device float byte_to_float(const uchar val)
ccl_device float4 color_srgb_to_linear_v4(const float4 c)
#define CCL_NAMESPACE_END
VecBase< float, 2 > float2
VecBase< float, 4 > float4
VecBase< float, 3 > float3
static constexpr TypeDesc TypeRGBA(TypeDesc::FLOAT, TypeDesc::VEC4, TypeDesc::COLOR)
static CyclesT convert(const blender::ColorGeometry4b &value)
static CyclesT convert(const blender::ColorGeometry4f &value)
static CyclesT convert(const blender::float2 &value)
static CyclesT convert(const blender::float3 &value)
static CyclesT convert(const blender::math::Quaternion &value)
static CyclesT convert(const bool &value)
static CyclesT convert(const float &value)
static CyclesT convert(const int8_t &value)
static CyclesT convert(const int &value)