11 #ifndef RU_ColorFunctions_h
12 #define RU_ColorFunctions_h
23 float smin,
float smax,
float sspill,
24 float lmin,
float lmax,
float lspill,
26 float hshift,
float sscale,
float lscale)
28 myHueMin = hmin; myHueMax = hmax; myHueSpill = hspill;
29 mySatMin = smin; mySatMax = smax; mySatSpill = sspill;
30 myLumMin = lmin; myLumMax = lmax; myLumSpill = lspill;
34 myHueShift = hshift; mySatScale = sscale; myLumScale = lscale;
37 inline float hueKey(
float hue)
const;
38 inline float satKey(
float sat)
const;
39 inline float lumKey(
float lum)
const;
46 {
return replacecolor; }
float(* RU_InterpFunction)(float)
RU_ColorReplace(float hmin, float hmax, float hspill, float smin, float smax, float sspill, float lmin, float lmax, float lspill, RU_InterpFunction interp, float hshift, float sscale, float lscale)
RUVectorFunc getVectorFunction() const override
IMATH_NAMESPACE::V2f float
bool needAllComponents() const override
void(* RUVectorFunc)(RU_PixelFunction *, float **, const bool *)