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

# MTLRenderPassColorAttachmentDescriptor

A color render target that serves as the output destination for color pixels generated by a render pass.

```
class MTLRenderPassColorAttachmentDescriptor
```

## Topics

### Specifying clearing value

[`clearColor`](/documentation/Metal/MTLRenderPassColorAttachmentDescriptor/clearColor)

The color to use when clearing the color attachment.

[`MTLClearColorMake(_:_:_:_:)`](/documentation/Metal/MTLClearColorMake(_:_:_:_:))

Returns a color value used to clear a 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)