기술 자료

Unity Engine

Unity Engine

keywordCount

The number of local shader keywords in this local keyword space. (Read Only)
읽는 시간 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.