---
title: "init(buffer:offset:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpspredicate/init(buffer:offset:)"
---

# init(buffer:offset:)

## Declaration

```swift
init(buffer: any MTLBuffer, offset: Int)
```
