Contents

simd_bitselect(_:_:_:)

Returns a vector that contains elements from either the first or second parameter, based on the corresponding element in the third parameter.

Declaration

func simd_bitselect(_ x: simd_uchar4, _ y: simd_uchar4, _ mask: simd_char4) -> simd_uchar4

See Also

Logic and Bitwise Functions