# GetFormatString

> Returns a string that represents a format enum value.

## Definition

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

## GetFormatString(GraphicsFormat)

Returns a string that represents a format enum value.

```csharp
public static string GetFormatString(GraphicsFormat format)
```

### Parameters

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

### Returns

| Type                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) |             |

## GetFormatString(TextureFormat)

Returns a string that represents a format enum value.

```csharp
public static string GetFormatString(TextureFormat format)
```

### Parameters

**** (\[TextureFormat]\(/engine/6000.0/script-reference/unityengine/textureformat)):&#x20;

### Returns

| Type                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) |             |
