---
title: bufferIndex
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlvertexattributedescriptor/bufferindex
---

# bufferIndex

The index in the argument table for the associated vertex buffer.

## Declaration

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

## See Also

### Related Documentation

- [setVertexBuffer(_:offset:index:)](metal/mtlrendercommandencoder/setvertexbuffer(_:offset:index:).md)

### Organizing the vertex attribute

- [format](metal/mtlvertexattributedescriptor/format.md)
- [offset](metal/mtlvertexattributedescriptor/offset.md)
- [MTLVertexFormat](metal/mtlvertexformat.md)
