---
title: colorAttachments
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4meshrenderpipelinedescriptor/colorattachments
---

# colorAttachments

Accesses an array containing descriptions of the color attachments this pipeline writes to.

## Declaration

```swift
var colorAttachments: MTL4RenderPipelineColorAttachmentDescriptorArray { get }
```
