---
title: "init(buffer:format:stride:offset:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/gaussiansplatresource/bufferdescriptor/init(buffer:format:stride:offset:)"
---

# init(buffer:format:stride:offset:)

## Declaration

```swift
init(buffer: LowLevelBuffer, format: MTLAttributeFormat, stride: Int, offset: Int)
```
