<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 27.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalFX",
  "identifier" : "/documentation/MetalFX/MTLFXSpatialScalerColorProcessingMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "MetalFX"
    ],
    "preciseIdentifier" : "c:@E@MTLFXSpatialScalerColorProcessingMode"
  },
  "title" : "MTLFXSpatialScalerColorProcessingMode"
}
-->

# MTLFXSpatialScalerColorProcessingMode

The color space modes for the input and output textures you use with a spatial scaling effect instance.

```
enum MTLFXSpatialScalerColorProcessingMode
```

## Topics

### Color space modes

[`case linear`](/documentation/MetalFX/MTLFXSpatialScalerColorProcessingMode/linear)

Indicates your input and output textures use a linear color space.

[`case perceptual`](/documentation/MetalFX/MTLFXSpatialScalerColorProcessingMode/perceptual)

Indicates your input and output textures use a perceptual color space.

[`case hdr`](/documentation/MetalFX/MTLFXSpatialScalerColorProcessingMode/hdr)

Indicates your input and output textures use a high dynamic range color space.

### Initializers

[`init?(rawValue: Int)`](/documentation/MetalFX/MTLFXSpatialScalerColorProcessingMode/init(rawValue:))

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)