|
Blender V4.5
|
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 7 of file node_ramp_util.h.
References clamp(), i, and result.
Referenced by CurvesNode::constant_fold(), and RGBRampNode::constant_fold().
| float rgb_ramp_lookup | ( | float | ramp[], |
| float | at, | ||
| int | interpolate, | ||
| int | extrapolate ) |
Definition at line 48 of file node_ramp_util.h.