# GetTransferFunction(ColorGamut)

> Returns the transfer function that the given gamut uses on the current platform.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static TransferFunction GetTransferFunction(ColorGamut gamut)
```

### Parameters

**** (\[ColorGamut]\(/engine/6000.7/script-reference/unityengine/colorgamut)): The color gamut to look up.

### Returns

| Type                                                                                | Description                                      |
| ----------------------------------------------------------------------------------- | ------------------------------------------------ |
| [TransferFunction](/engine/6000.7/script-reference/unityengine/transferfunction.md) | The transfer function that the given gamut uses. |

### Remarks

Due to platform differences, the encoding of a specific ColorGamut may differ.
