# totalGraphicsStateCount

> The total number of graphics states across all shader variants in the collection.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Rendering](/engine/6000.7/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public int totalGraphicsStateCount { get; }
```

### Remarks

Additional Resources: [GraphicsStateCollection.GetGraphicsStateCountForVariant](/engine/6000.7/script-reference/unityengine/rendering/graphicsstatecollection/getgraphicsstatecountforvariant.md).
