---
title: init()
framework: metal
role: symbol
role_heading: Initializer
path: metal/mtlsampleposition/init()
---

# init()

Returns a new sample position on a subpixel grid.

## Declaration

```swift
init()
```
