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

# commandBuffer

The Metal command buffer for encoding the frame.

## Declaration

```swift
var commandBuffer: CommandBuffer
```
