# AllVariants

> Generates separate shader variants for all the keyword combinations in this declaration.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor.Shaders](/engine/6000.3/script-reference/unityeditor/shaders.md)
* **Assembly:** UnityEditor

```csharp
AllVariants = 2
```

### Remarks

This matches the behavior when you declare keywords as `multi_compile`.
