float2(_:)
Returns an argument value representing the MSL value float2(point.x, point.y).
Declaration
static func float2(_ point: CGPoint) -> Shader.ArgumentReturns an argument value representing the MSL value float2(point.x, point.y).
static func float2(_ point: CGPoint) -> Shader.Argument