---
title: maxVertexBufferBindCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlindirectcommandbufferdescriptor/maxvertexbufferbindcount
---

# maxVertexBufferBindCount

The maximum number of buffers that you can set per command for the vertex stage.

## Declaration

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

## Discussion

Discussion Metal ignores this property if inheritBuffers is true or if you configured commandTypes for compute commands. Metal needs to reserve enough memory in each command to store this many arguments. Use the smallest value that works for all commands you plan to encode into the indirect command buffer.

## See Also

### Declaring the maximum number of argument buffers per command

- [maxFragmentBufferBindCount](metal/mtlindirectcommandbufferdescriptor/maxfragmentbufferbindcount.md)
- [maxKernelBufferBindCount](metal/mtlindirectcommandbufferdescriptor/maxkernelbufferbindcount.md)
