ドキュメント

Unity Engine

Unity Engine

keywordCount

The number of local shader keywords in this local keyword space. (Read Only)
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public uint keywordCount { get; }

Remarks

This property enables you to query the number of local shader keywords in this
LocalKeywordSpace
without any allocations.
Additional Resources: Shader variants and keywords, LocalKeyword, GlobalKeyword, ComputeShader.keywordSpace, Shader.keywordSpace.