---
title: buffer
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/argeometrysource/buffer
---

# buffer

A Metal buffer that contains a list of vectors.

## Declaration

```swift
var buffer: any MTLBuffer { get }
```

## Discussion

Discussion Each vector in the buffer is of the type defined by format. Every vector may itself contain multiple scalars, defined by componentsPerVector. The buffer’s storageMode is MTLStorageMode.shared which allows it to be accessed on both, the CPU, and GPU.

## See Also

### Accessing Geometry

- [subscript(_:)](arkit/argeometrysource/subscript(_:)-3v98f.md)
- [subscript(_:)](arkit/argeometrysource/subscript(_:)-7jf4y.md)
