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 : BinaryFloatingPointReturns an argument value representing the MSL value float2(x, y).
static func float2<T>(_ x: T, _ y: T) -> Shader.Argument where T : BinaryFloatingPoint