# GetLinearFormat(GraphicsFormat)

> Returns the equivalent linear format of a GraphicsFormat. For example, this function returns kFormatR8G8B8A8_UNorm if the input is kFormatR8G8B8A8_SRGB. If the input GraphicsFormat is already linear, this function returns the input GraphicsFormat.

## Definition

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

```csharp
public static GraphicsFormat GetLinearFormat(GraphicsFormat format)
```

### Parameters

**** (\[GraphicsFormat]\(/engine/6000.7/script-reference/unityengine/experimental/rendering/graphicsformat)):&#x20;

### Returns

| Type                                                                                                   | Description |
| ------------------------------------------------------------------------------------------------------ | ----------- |
| [GraphicsFormat](/engine/6000.7/script-reference/unityengine/experimental/rendering/graphicsformat.md) |             |
