Contents

clamp(_:min:max:)

Returns each element in a vector clamped to a specified range.

Declaration

func clamp(_ x: SIMD2<UInt32>, min: UInt32, max: UInt32) -> SIMD2<UInt32>

See Also

Common Functions