Contents

simd_select(_:_:_:)

Returns a vector that contains elements from either the first or second parameter, based on the corresponding element’s high-order bit in the mask.

Declaration

func simd_select(_ x: simd_half3, _ y: simd_half3, _ mask: simd_short3) -> simd_half3

See Also

Logic functions