# IsAlphaOnlyFormat

> Returns true if the format only has an alpha component. Returns false otherwise.

## Definition

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

## IsAlphaOnlyFormat(GraphicsFormat)

Returns true if the format only has an alpha component. Returns false otherwise.

```csharp
public static bool IsAlphaOnlyFormat(GraphicsFormat format)
```

### Parameters

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

### Returns

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

## IsAlphaOnlyFormat(TextureFormat)

Returns true if the format only has an alpha component. Returns false otherwise.

```csharp
public static bool IsAlphaOnlyFormat(TextureFormat format)
```

### Parameters

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

### Returns

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