<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTL4LogicalToPhysicalColorAttachmentMappingState/inherited",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTL4LogicalToPhysicalColorAttachmentMappingState@MTL4LogicalToPhysicalColorAttachmentMappingStateInherited"
  },
  "title" : "MTL4LogicalToPhysicalColorAttachmentMappingState.inherited"
}
-->

# MTL4LogicalToPhysicalColorAttachmentMappingState.inherited

Deduces the color attachment mapping by inheriting it from the color attachment map of the current encoder.

```
case inherited
```

## Discussion

This setting instructs the pipeline state to inherit the color attachment map of the current
render encoder:

- For an [`MTL4RenderCommandEncoder`](/documentation/Metal/MTL4RenderCommandEncoder), call its [`setColorAttachmentMap(_:)`](/documentation/Metal/MTL4RenderCommandEncoder/setColorAttachmentMap(_:)) method.
- For an [`MTLRenderCommandEncoder`](/documentation/Metal/MTLRenderCommandEncoder), call its [`setColorAttachmentMap(_:)`](/documentation/Metal/MTLRenderCommandEncoder/setColorAttachmentMap(_:)) method.

---

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)