# TextureImporterSwizzle

> Options for where texture color channel data comes from in the TextureImporter.

## Definition

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

```csharp
public enum TextureImporterSwizzle
```

## Remarks

By default, the Texture Importer maps each color channel from the source image to the same color channel in the imported texture. For example, the default value of [TextureImporter.swizzleR](/engine/6000.6/script-reference/unityeditor/textureimporter/swizzler.md) is [TextureImporterSwizzle.R](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/r.md).

Additional Resources: [TextureImporter.swizzleR](/engine/6000.6/script-reference/unityeditor/textureimporter/swizzler.md), [TextureImporter.swizzleG](/engine/6000.6/script-reference/unityeditor/textureimporter/swizzleg.md), [TextureImporter.swizzleB](/engine/6000.6/script-reference/unityeditor/textureimporter/swizzleb.md), [TextureImporter.swizzleA](/engine/6000.6/script-reference/unityeditor/textureimporter/swizzlea.md).

## Fields

| Value                                                                                        | Description                                        |
| -------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [A](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/a.md)                 | Use the alpha color channel.                       |
| [B](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/b.md)                 | Use the blue color channel.                        |
| [G](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/g.md)                 | Use the green color channel.                       |
| [One](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/one.md)             | Use white (a value of one) for the color channel.  |
| [OneMinusA](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/oneminusa.md) | Use the inverted alpha color channel.              |
| [OneMinusB](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/oneminusb.md) | Use the inverted blue color channel.               |
| [OneMinusG](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/oneminusg.md) | Use the inverted green color channel.              |
| [OneMinusR](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/oneminusr.md) | Use the inverted red color channel.                |
| [R](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/r.md)                 | Use the red color channel.                         |
| [Zero](/engine/6000.6/script-reference/unityeditor/textureimporterswizzle/zero.md)           | Use black (a value of zero) for the color channel. |
