Blender  V3.3
Functions
ramp_util.h File Reference

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)
 

Function Documentation

◆ float_ramp_lookup()

ccl_device float float_ramp_lookup ( const float ramp,
float  f,
bool  interpolate,
bool  extrapolate,
int  table_size 
)

◆ rgb_ramp_lookup()

CCL_NAMESPACE_BEGIN ccl_device_inline float3 rgb_ramp_lookup ( const float3 ramp,
float  f,
bool  interpolate,
bool  extrapolate,
int  table_size 
)