# GraphicsStateCollection.ShaderVariant

> Identifies a specific variant of a shader stored in a GraphicsStateCollection.

## Definition

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

```csharp
public struct GraphicsStateCollection.ShaderVariant
```

## Fields

| Value                                                                                                                            | Description                                      |
| -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [keywords](/engine/6000.0/script-reference/unityengine/experimental/rendering/graphicsstatecollection/shadervariant/keywords.md) | Array of shader keywords to use in this variant. |
| [passId](/engine/6000.0/script-reference/unityengine/experimental/rendering/graphicsstatecollection/shadervariant/passid.md)     | PassIdentifier to use in this variant.           |
| [shader](/engine/6000.0/script-reference/unityengine/experimental/rendering/graphicsstatecollection/shadervariant/shader.md)     | Shader to use in this variant.                   |
