---
title: maxCommandBufferCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlcommandqueuedescriptor/maxcommandbuffercount
---

# maxCommandBufferCount

An integer that sets the maximum number of uncompleted command buffers the queue can allow.

## Declaration

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