<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelRenderer/ColorMatch-swift.struct/init(colorGamutConversion:enableClampValues:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer08LowLevelC0C10ColorMatchV20colorGamutConversion17enableClampValuesAESo12simd_half3x3a_Sbtcfc"
  },
  "title" : "init(colorGamutConversion:enableClampValues:)"
}
-->

# init(colorGamutConversion:enableClampValues:)

Creates a color match using an explicit gamut conversion matrix.

```
init(colorGamutConversion: simd_half3x3 = matrix_identity_half3x3, enableClampValues: Bool = false)
```

## Parameters

`colorGamutConversion`

A 3×3 matrix that converts RGB values from the renderer’s working color space to the output display’s color space. Defaults to identity.

`enableClampValues`

If `true`, output values are clamped to `[0, 1]` after gamut conversion. Defaults to `false`.

---

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)