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