Contents

init(clamping:)

Creates a new vector from the given vector, clamping the values of the given vector’s elements if necessary.

Declaration

init<Other>(clamping other: SIMD2<Other>) where Other : FixedWidthInteger, Other : SIMDScalar

Parameters

  • other:

    The vector to convert.