makepad_live_compiler::live_eval::shader

Function clamp

Source
pub fn clamp<T>(v: T, l: T, h: T) -> T
where T: ShaderMath,