|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline float3 | rgb_ramp_lookup (const float3 *ramp, float f, bool interpolate, bool extrapolate, int table_size) |
| ccl_device float | float_ramp_lookup (const float *ramp, float f, bool interpolate, bool extrapolate, int table_size) |
| ccl_device float float_ramp_lookup | ( | const float * | ramp, |
| float | f, | ||
| bool | interpolate, | ||
| bool | extrapolate, | ||
| int | table_size ) |
Definition at line 43 of file ramp_util.h.
References clamp(), float, float_to_int(), and result.
| CCL_NAMESPACE_BEGIN ccl_device_inline float3 rgb_ramp_lookup | ( | const float3 * | ramp, |
| float | f, | ||
| bool | interpolate, | ||
| bool | extrapolate, | ||
| int | table_size ) |
Definition at line 12 of file ramp_util.h.
References clamp(), float, float_to_int(), and result.