|
Blender
V2.93
|
#include "util/util_color.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device float3 | xyz_to_rgb (KernelGlobals *kg, float3 xyz) |
| ccl_device float | linear_rgb_to_gray (KernelGlobals *kg, float3 c) |
| ccl_device float linear_rgb_to_gray | ( | KernelGlobals * | kg, |
| float3 | c | ||
| ) |
Definition at line 31 of file kernel_color.h.
References Freestyle::c, dot(), float4_to_float3(), and kernel_data.
Referenced by combine_with_energy(), svm_node_closure_bsdf(), and svm_node_convert().
| CCL_NAMESPACE_BEGIN ccl_device float3 xyz_to_rgb | ( | KernelGlobals * | kg, |
| float3 | xyz | ||
| ) |
Definition at line 24 of file kernel_color.h.
References dot(), float4_to_float3(), kernel_data, and make_float3.
Referenced by FallbackImpl::configGetXYZtoRGB(), get_XYZ_to_RGB_for_gpu(), ShaderManager::init_xyz_transforms(), node_shader_gpu_tex_sky(), OCIO_configGetXYZtoRGB(), sky_radiance_hosek(), sky_radiance_nishita(), sky_radiance_preetham(), and svm_node_wavelength().