---
title: "MTLCoordinate2DMake(_:_:)"
framework: metal
role: symbol
role_heading: Function
path: "metal/mtlcoordinate2dmake(_:_:)"
---

# MTLCoordinate2DMake(_:_:)

Returns a new 2D point with the specified coordinates.

## Declaration

```swift
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

- [Rendering at different rasterization rates](metal/rendering-at-different-rasterization-rates.md)
- [Creating a rasterization rate map](metal/creating-a-rasterization-rate-map.md)
- [Rendering with a rasterization rate map](metal/rendering-with-a-rasterization-rate-map.md)
- [Scaling variable rasterization rate content](metal/scaling-variable-rasterization-rate-content.md)
- [MTLRasterizationRateMapDescriptor](metal/mtlrasterizationratemapdescriptor.md)
- [MTLRasterizationRateMap](metal/mtlrasterizationratemap.md)
- [MTLCoordinate2D](metal/mtlcoordinate2d.md)
