|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| color | rgb_ramp_lookup (color ramp[], float at, int interpolate, int extrapolate) |
| float | rgb_ramp_lookup (float ramp[], float at, int interpolate, int extrapolate) |
| color rgb_ramp_lookup | ( | color | ramp[], |
| float | at, | ||
| int | interpolate, | ||
| int | extrapolate | ||
| ) |
Definition at line 19 of file node_ramp_util.h.
References clamp(), float(), result, and t.
Referenced by RGBRampNode::constant_fold(), and CurvesNode::constant_fold().