Contents

MTLCoordinate2DMake(_:_:)

Returns a new 2D point with the specified coordinates.

Declaration

func MTLCoordinate2DMake(_ x: Float, _ y: Float) -> MTLCoordinate2D

Parameters

  • x:

    The x coordinate of the new point.

  • y:

    The y coordinate of the new point.

See Also

Rasterization settings