# GetSwizzleA

> Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.

## Definition

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

## GetSwizzleA(GraphicsFormat)

Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.

```csharp
public static FormatSwizzle GetSwizzleA(GraphicsFormat format)
```

### Parameters

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

### Returns

| Type                                                                                    | Description |
| --------------------------------------------------------------------------------------- | ----------- |
| [FormatSwizzle](/engine/6000.3/script-reference/unityengine/rendering/formatswizzle.md) |             |

## GetSwizzleA(TextureFormat)

Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.

```csharp
public static FormatSwizzle GetSwizzleA(TextureFormat format)
```

### Parameters

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

### Returns

| Type                                                                                    | Description |
| --------------------------------------------------------------------------------------- | ----------- |
| [FormatSwizzle](/engine/6000.3/script-reference/unityengine/rendering/formatswizzle.md) |             |
