---
title: maxFragmentBufferBindCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlindirectcommandbufferdescriptor/maxfragmentbufferbindcount
---

# maxFragmentBufferBindCount

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

## Declaration

```swift
var maxFragmentBufferBindCount: 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

- [maxVertexBufferBindCount](metal/mtlindirectcommandbufferdescriptor/maxvertexbufferbindcount.md)
- [maxKernelBufferBindCount](metal/mtlindirectcommandbufferdescriptor/maxkernelbufferbindcount.md)
