# SupportsRandomWriteOnRenderTextureFormat(RenderTextureFormat)

> Tests if a RenderTextureFormat can be used with RenderTexture.enableRandomWrite.

## Definition

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

```csharp
public static bool SupportsRandomWriteOnRenderTextureFormat(RenderTextureFormat format)
```

### Parameters

**** (\[RenderTextureFormat]\(/engine/6000.7/script-reference/unityengine/rendertextureformat)): The format to look up.

### Returns

| Type                                                          | Description                                              |
| ------------------------------------------------------------- | -------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the format can be used for random access writes. |

### Remarks

Random access write might not be supported on all [RenderTextureFormat](/engine/6000.7/script-reference/unityengine/rendertextureformat.md) as this is API/driver/hardware dependent.
