Contents

clamp(_:min:max:)

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

Declaration

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

See Also

Common Functions