variantCount
The number of shader variants contained in this collection.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public int variantCount { get; }
Remarks
Each shader variant may have multiple associated graphics states that are used when prewarming to create accurate GPU representations.
Additional Resources: GraphicsStateCollection.GetVariants.