---
title: colorAttachmentPixelFormats
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowlevelrenderer/configuration/colorattachmentpixelformats
---

# colorAttachmentPixelFormats

The pixel formats of the color attachments in the render pass the renderer encodes into.

## Declaration

```swift
var colorAttachmentPixelFormats: [MTLPixelFormat] { get }
```

## Discussion

Discussion Use these formats when compiling your own MTLRenderPipelineState objects for draw calls issued inside the render(using:_:) callback.

## See Also

### Configuring pixel formats

- [depthAttachmentPixelFormat](realitykit/lowlevelrenderer/configuration/depthattachmentpixelformat.md)
- [stencilAttachmentPixelFormat](realitykit/lowlevelrenderer/configuration/stencilattachmentpixelformat.md)
