Contents

simd_make_int2(_:)

Returns a new vector with the first element set to a scalar value, and other elements set to zero.

Declaration

func simd_make_int2(_ other: Int32) -> simd_int2

See Also

Functions to Create Two-Element Vectors From Scalar Values