Contents

init(colorGamutConversion:enableClampValues:)

Creates a color match using an explicit gamut conversion matrix.

Declaration

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.

See Also

Creating a color match