Contents

float2(_:)

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

Declaration

static func float2(_ point: CGPoint) -> Shader.Argument

See Also

Creating argument values