---
title: MTLLogicalToPhysicalColorAttachmentMap
framework: metal
role: symbol
role_heading: Class
path: metal/mtllogicaltophysicalcolorattachmentmap
---

# MTLLogicalToPhysicalColorAttachmentMap

Allows you to easily specify color attachment remapping from logical to physical indices.

## Declaration

```swift
class MTLLogicalToPhysicalColorAttachmentMap
```

## Topics

### Instance Methods

- [reset()](metal/mtllogicaltophysicalcolorattachmentmap/reset().md)

### Subscripts

- [subscript(_:)](metal/mtllogicaltophysicalcolorattachmentmap/subscript(_:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Configuring a render command encoder

- [MTL4RenderPassDescriptor](metal/mtl4renderpassdescriptor.md)
- [MTLRenderPassDescriptor](metal/mtlrenderpassdescriptor.md)
- [MTLRenderPassAttachmentDescriptor](metal/mtlrenderpassattachmentdescriptor.md)
- [MTLRenderPassColorAttachmentDescriptorArray](metal/mtlrenderpasscolorattachmentdescriptorarray.md)
- [MTLRenderPassColorAttachmentDescriptor](metal/mtlrenderpasscolorattachmentdescriptor.md)
- [MTLClearColor](metal/mtlclearcolor.md)
- [MTLRenderPassDepthAttachmentDescriptor](metal/mtlrenderpassdepthattachmentdescriptor.md)
- [MTLMultisampleDepthResolveFilter](metal/mtlmultisampledepthresolvefilter.md)
- [MTL4RenderPipelineColorAttachmentDescriptorArray](metal/mtl4renderpipelinecolorattachmentdescriptorarray.md)
- [MTLTileRenderPipelineColorAttachmentDescriptorArray](metal/mtltilerenderpipelinecolorattachmentdescriptorarray.md)
- [MTLRenderPassStencilAttachmentDescriptor](metal/mtlrenderpassstencilattachmentdescriptor.md)
- [MTLMultisampleStencilResolveFilter](metal/mtlmultisamplestencilresolvefilter.md)
- [MTLRenderPassSampleBufferAttachmentDescriptorArray](metal/mtlrenderpasssamplebufferattachmentdescriptorarray.md)
- [MTLRenderPassSampleBufferAttachmentDescriptor](metal/mtlrenderpasssamplebufferattachmentdescriptor.md)
- [MTLDispatchThreadsIndirectArguments](metal/mtldispatchthreadsindirectarguments.md)
