<!--
{
  "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/MTLRenderPassColorAttachmentDescriptorArray",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLRenderPassColorAttachmentDescriptorArray"
  },
  "title" : "MTLRenderPassColorAttachmentDescriptorArray"
}
-->

# MTLRenderPassColorAttachmentDescriptorArray

An array of render pass color attachment descriptor objects.

```
class MTLRenderPassColorAttachmentDescriptorArray
```

## Topics

### Accessing the description of a color attachment

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

Returns the descriptor object for the specified color attachment.

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

Sets the descriptor for the 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)