---
title: inheritBuffers
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlindirectcommandbufferdescriptor/inheritbuffers
---

# inheritBuffers

A Boolean value that determines where commands in the indirect command buffer get their buffer arguments from when you execute them.

## Declaration

```swift
var inheritBuffers: Bool { get set }
```

## Discussion

Discussion Always set this property explicitly. If you set the value to true, don’t set buffer arguments when you encode commands into the indirect command buffer. The commands use (inherit) the buffer arguments that you set on the parent encoder. If you set the value to false, set the buffer arguments when you encode the commands into the indirect command buffer. The commands ignore any buffer arguments set on the parent encoder.

## See Also

### Declaring command inheritance

- [inheritPipelineState](metal/mtlindirectcommandbufferdescriptor/inheritpipelinestate.md)
