기술 자료

Unity Engine

Unity Engine

variantCount

The number of shader variants contained in this collection.
읽는 시간 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.