Contents

float2(_:_:)

Returns an argument value representing the MSL value float2(x, y).

Declaration

static func float2<T>(_ x: T, _ y: T) -> Shader.Argument where T : BinaryFloatingPoint

See Also

Creating argument values