文档

Unity Engine

Unity Engine

variantCount

The number of shader variants contained in this collection.
阅读时间1 分钟最后更新于 1 个月前

Definition

public int variantCount { get; }

Remarks

Each shader variant may have multiple associated graphics states that are used when prewarming to create accurate GPU representations.