---
title: commandBuffer
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/arview/postprocesscontext/commandbuffer
---

# commandBuffer

The Metal command buffer for encoding the frame.

## Declaration

```swift
var commandBuffer: any MTLCommandBuffer
```
