# TextureImporterAlphaSource

> Select how the alpha of the imported texture is generated.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public enum TextureImporterAlphaSource
```

## Fields

| Value                                                                                                    | Description                                          |
| -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| [FromGrayScale](/engine/6000.0/script-reference/unityeditor/textureimporteralphasource/fromgrayscale.md) | Generate Alpha from image gray scale.                |
| [FromInput](/engine/6000.0/script-reference/unityeditor/textureimporteralphasource/frominput.md)         | Use Alpha from the input texture if one is provided. |
| [None](/engine/6000.0/script-reference/unityeditor/textureimporteralphasource/none.md)                   | No Alpha will be used.                               |
