---
title: colorAttachmentMappingState
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4renderpipelinedescriptor/colorattachmentmappingstate
---

# colorAttachmentMappingState

Configures a logical-to-physical rendering remap state.

## Declaration

```swift
var colorAttachmentMappingState: MTL4LogicalToPhysicalColorAttachmentMappingState { get set }
```

## Discussion

Discussion Use this property to assign how a MTL4RenderCommandEncoder instance maps the output of your fragment shader to physical color attachments.
