totalGraphicsStateCount
The total number of graphics states across all shader variants in the collection.
Read time 1 minuteLast updated 21 hours ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public int totalGraphicsStateCount { get; }
Remarks
This count doesn't include compute shader variants, because they have no graphics states.
Additional Resources: GraphicsStateCollection.GetGraphicsStateCountForVariant, GraphicsStateCollection.computeVariantCount.