Lines Matching refs:amount
859 * @param amount value to be clamped. Supports 1,2,3,4 components
865 _RS_RUNTIME float __attribute__((const, overloadable)) clamp(float amount, float low, float high);
870 extern T __attribute__((overloadable)) clamp(T amount, T low, T high); \
871 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T##2 low, T##2 high); \
872 extern T##3 __attribute__((overloadable)) clamp(T##3 amount, T##3 low, T##3 high); \
873 extern T##4 __attribute__((overloadable)) clamp(T##4 amount, T##4 low, T##4 high); \
874 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T low, T high); \
875 extern T##3 __attribute__((overloadable)) clamp(T##3 amount, T low, T high); \
876 extern T##4 __attribute__((overloadable)) clamp(T##4 amount, T low, T high)
901 * return start + ((stop - start) * amount);
905 _RS_RUNTIME float __attribute__((const, overloadable)) mix(float start, float stop, float amount);