<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLRenderPipelineColorAttachmentDescriptorArray",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLRenderPipelineColorAttachmentDescriptorArray"
  },
  "title" : "MTLRenderPipelineColorAttachmentDescriptorArray"
}
-->

# MTLRenderPipelineColorAttachmentDescriptorArray

An array of render pipeline color attachment descriptor objects.

```
class MTLRenderPipelineColorAttachmentDescriptorArray
```

## Topics

### Accessing render pipeline state for a color attachment

[`subscript(_:)`](/documentation/Metal/MTLRenderPipelineColorAttachmentDescriptorArray/subscript(_:))

Returns the render pipeline state for the specified color attachment.

[`setObject:atIndexedSubscript:`](/documentation/Metal/MTLRenderPipelineColorAttachmentDescriptorArray/setObject:atIndexedSubscript:)

Sets the render pipeline state for a specified color attachment.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)