The SAFE_CLAMP() macro is similar to CLAMP(), however, its result is always within the specified range, even if the input is NaN.
The SAFE_CLAMP() macro is similar to CLAMP(), however, its result is always within the specified range, even if the input is NaN.