---
title: bufferIndex
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowlevelmeshresource/layout/bufferindex
---

# bufferIndex

The index of the buffer to use for this layout.

## Declaration

```swift
var bufferIndex: Int { get set }
```

## Discussion

Discussion Most usage scenarios use only one buffer. Use an index less than LowLevelMeshResource.Descriptor.vertexBufferCount.
