variantCount
The number of shader variants contained in this collection.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
public int variantCount { get; }
Remarks
Each shader variant may have associated graphics states that are used when prewarming to create accurate GPU representations.