variantCount
The number of shader variants contained in this collection.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine.Experimental.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.